Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008905/0.0008906, allocations: 97.53 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000971/0.000971, allocations: 170.4 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.153/1.153, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2921/0.2921, allocations: 43.54 MB / 314.5 MB, free: 9.043 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.0004483, allocations: 14.97 kB / 383.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09336, allocations: 58.85 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001569/0.09495, allocations: 1.366 MB / 444.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009143/0.09588, allocations: 0.5936 MB / 444.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/0.09597, allocations: 3.938 kB / 444.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.096, allocations: 11.92 kB / 444.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.67e-05/0.09609, allocations: 11.92 kB / 444.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.09645, allocations: 127.7 kB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.09661, allocations: 83.84 kB / 444.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.09671, allocations: 25.09 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.09682, allocations: 67.69 kB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.638e-05/0.09692, allocations: 55.73 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.09696, allocations: 12 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.979e-05/0.09698, allocations: 8 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.09701, allocations: 23.92 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.09705, allocations: 41.64 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.736e-05/0.09715, allocations: 96.02 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-06/0.09716, allocations: 0 / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09717, allocations: 0 / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.09718, allocations: 0 / 445.3 MB, free: 10.77 MB / 382.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.0005594/0.09774, allocations: 454.8 kB / 445.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.09778, allocations: 8.031 kB / 445.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.09783, allocations: 19.77 kB / 445.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.09806, allocations: 210.9 kB / 445.9 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.09808, allocations: 8 kB / 445.9 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.09811, allocations: 12 kB / 446 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.09852, allocations: 192 kB / 446.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.09854, allocations: 0 / 446.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.09856, allocations: 4 kB / 446.1 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.09857, allocations: 4 kB / 446.1 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.09898, allocations: 163.8 kB / 446.3 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000771/0.09976, allocations: 468.3 kB / 446.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000607/0.1004, allocations: 250.4 kB / 447 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.1004, allocations: 8.141 kB / 447 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1004, allocations: 34.56 kB / 447.1 MB, free: 8.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.1004, allocations: 0 / 447.1 MB, free: 8.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.00143/0.1019, allocations: 0.6657 MB / 447.7 MB, free: 8.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.1019, allocations: 102.8 kB / 447.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.1021, allocations: 167.1 kB / 448 MB, free: 7.785 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.1021, allocations: 29.64 kB / 448 MB, free: 7.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.1022, allocations: 108 kB / 448.1 MB, free: 7.641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.1022, allocations: 31.55 kB / 448.1 MB, free: 7.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-06/0.1022, allocations: 0 / 448.1 MB, free: 7.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.1023, allocations: 334.8 kB / 448.5 MB, free: 7.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.1025, allocations: 87.94 kB / 448.6 MB, free: 7.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.1028, allocations: 102.5 kB / 448.7 MB, free: 7.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.103, allocations: 91.92 kB / 448.7 MB, free: 6.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.103, allocations: 0 / 448.7 MB, free: 6.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004917/0.1035, allocations: 217.4 kB / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/0.1036, allocations: 93 kB / 449.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1036, allocations: 0 / 449.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.1036, allocations: 0 / 449.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.1038, allocations: 47.95 kB / 449.1 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.1038, allocations: 4.375 kB / 449.1 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.104, allocations: 39.91 kB / 449.1 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.104, allocations: 4 kB / 449.1 MB, free: 6.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.46e-06/0.104, allocations: 0 / 449.1 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002128/0.1042, allocations: 103.8 kB / 449.2 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.1042, allocations: 0 / 449.2 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-06/0.1042, allocations: 0 / 449.2 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/0.1043, allocations: 31.92 kB / 449.3 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-06/0.1043, allocations: 0 / 449.3 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.992e-05/0.1044, allocations: 19.98 kB / 449.3 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1044, allocations: 0 / 449.3 MB, free: 6.426 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.1045, allocations: 205.1 kB / 449.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.1046, allocations: 15.77 kB / 449.5 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.1046, allocations: 13.41 kB / 449.5 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1046, allocations: 0 / 449.5 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1047, allocations: 4 kB / 449.5 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1047, allocations: 4 kB / 449.5 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008438/0.1055, allocations: 0.5538 MB / 450.1 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1055, allocations: 0 / 450.1 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.1057, allocations: 47.89 kB / 450.1 MB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1057, allocations: 8.031 kB / 450.1 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.1057, allocations: 3.938 kB / 450.1 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1057, allocations: 0 / 450.1 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1057, allocations: 0 / 450.1 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007715/0.1065, allocations: 433.7 kB / 450.6 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.1066, allocations: 89.03 kB / 450.7 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1066, allocations: 0 / 450.7 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.1069, allocations: 56.02 kB / 450.7 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.1069, allocations: 7.984 kB / 450.7 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1069, allocations: 4 kB / 450.7 MB, free: 4.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.688e-05/0.107, allocations: 123.2 kB / 450.8 MB, free: 4.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.107, allocations: 0 / 450.8 MB, free: 4.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.1073, allocations: 36.19 kB / 450.9 MB, free: 4.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.097e-05/0.1074, allocations: 99.25 kB / 451 MB, free: 4.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006063/0.108, allocations: 248.2 kB / 451.2 MB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1081, allocations: 0 / 451.2 MB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.1083, allocations: 96 kB / 451.3 MB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.1086, allocations: 27.94 kB / 451.3 MB, free: 4.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.1091, allocations: 344.8 kB / 451.7 MB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.1094, allocations: 0.7088 MB / 452.4 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.424e-05/0.1094, allocations: 28.84 kB / 452.4 MB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.1095, allocations: 15.44 kB / 452.4 MB, free: 3.113 MB / 382.1 MB Notification: Performance of SimCode: time 1.312e-06/0.1095, allocations: 0 / 452.4 MB, free: 3.113 MB / 382.1 MB Notification: Performance of Templates: time 0.004038/0.1135, allocations: 1.989 MB / 454.4 MB, free: 1.133 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Limiters/Limiters.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches