Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 215 kB / 24.49 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2186/0.2186, allocations: 46.97 MB / 361.6 MB, free: 4.102 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 67.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3145, allocations: 66.04 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002932/0.3174, allocations: 1.648 MB / 0.5634 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3186, allocations: 0.6244 MB / 0.564 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.569e-05/0.3187, allocations: 7.938 kB / 0.564 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.867e-05/0.3187, allocations: 11.86 kB / 0.5641 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.3188, allocations: 19.81 kB / 0.5641 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.3192, allocations: 155.4 kB / 0.5642 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.3194, allocations: 155.6 kB / 0.5644 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3196, allocations: 31.89 kB / 0.5644 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.3197, allocations: 75.77 kB / 0.5645 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.3199, allocations: 71.67 kB / 0.5645 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.3199, allocations: 12 kB / 0.5646 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.089e-05/0.3199, allocations: 20 kB / 0.5646 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.32, allocations: 31.91 kB / 0.5646 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.32, allocations: 51.77 kB / 0.5647 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.3202, allocations: 147.1 kB / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3202, allocations: 0 / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3202, allocations: 0 / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.3202, allocations: 0 / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006881/0.3209, allocations: 381.7 kB / 0.5652 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.321, allocations: 12.03 kB / 0.5652 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.3211, allocations: 24.83 kB / 0.5652 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.3214, allocations: 167.9 kB / 0.5654 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3214, allocations: 4.375 kB / 0.5654 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.3215, allocations: 8.375 kB / 0.5654 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/0.322, allocations: 334.7 kB / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.322, allocations: 0 / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.322, allocations: 3.938 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.322, allocations: 7.984 kB / 0.5657 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.3224, allocations: 119.8 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007723/0.3232, allocations: 368 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.3237, allocations: 186.5 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.3239, allocations: 80.94 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.324, allocations: 0 / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.324, allocations: 46.53 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.324, allocations: 4 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001377/0.3254, allocations: 492.7 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.3254, allocations: 106.8 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3256, allocations: 154.1 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.3256, allocations: 29.7 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.3257, allocations: 116 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.3258, allocations: 31.7 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.3258, allocations: 25.7 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.326, allocations: 326.8 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.3262, allocations: 72.8 kB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.3265, allocations: 149.8 kB / 0.5679 GB, free: 13.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.3269, allocations: 132.8 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3269, allocations: 0 / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004726/0.3274, allocations: 193.5 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3274, allocations: 4 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3274, allocations: 384 / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3274, allocations: 0 / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.3276, allocations: 39.97 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3276, allocations: 0 / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.3277, allocations: 27.84 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3277, allocations: 4 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001579/0.3279, allocations: 124 kB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001393/0.328, allocations: 109.9 kB / 0.5685 GB, free: 12.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001809/0.3282, allocations: 80.84 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.91e-07/0.3282, allocations: 0 / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002603/0.3285, allocations: 125.5 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.854e-06/0.3285, allocations: 6.812 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-06/0.3285, allocations: 0 / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-06/0.3285, allocations: 0 / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.994e-05/0.3286, allocations: 23.97 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.3286, allocations: 4 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.3287, allocations: 15.98 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3287, allocations: 7.875 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.3288, allocations: 184.3 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.3288, allocations: 11.95 kB / 0.5689 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.3289, allocations: 16.7 kB / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3289, allocations: 0 / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.3289, allocations: 3.984 kB / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.3289, allocations: 15.84 kB / 0.569 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.3289, allocations: 4.281 kB / 0.569 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.3292, allocations: 35.95 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.3293, allocations: 11.98 kB / 0.569 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006019/0.3299, allocations: 280.7 kB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007723/0.3306, allocations: 430.5 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002072/0.3308, allocations: 67.94 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.746e-05/0.3309, allocations: 111.2 kB / 0.5699 GB, free: 11.53 MB / 414.1 MB Notification: Performance of Backend: time 2.6e-07/0.3309, allocations: 0 / 0.5699 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000675/0.3316, allocations: 212.9 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007523/0.3324, allocations: 0.6954 MB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of Templates: time 0.00641/0.3388, allocations: 2.95 MB / 0.5736 GB, free: 7.676 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.764215144001355]