Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.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.001373/0.001373, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001505/0.001505, allocations: 215.8 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2849/0.2849, allocations: 44.25 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] 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.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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 76.98 kB / 468 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1681, allocations: 61.04 MB / 0.5166 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.003827/0.172, allocations: 1.448 MB / 0.518 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.1729, allocations: 427.9 kB / 0.5185 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.173, allocations: 0 / 0.5185 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.173, allocations: 7.938 kB / 0.5185 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.71e-05/0.173, allocations: 3.938 kB / 0.5185 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.1733, allocations: 27.92 kB / 0.5185 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.354e-05/0.1734, allocations: 31.91 kB / 0.5185 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1735, allocations: 11.98 kB / 0.5185 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1736, allocations: 15.94 kB / 0.5185 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.541e-05/0.1737, allocations: 11.92 kB / 0.5186 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.1737, allocations: 4 kB / 0.5186 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.458e-05/0.1737, allocations: 0 / 0.5186 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.1737, allocations: 15.97 kB / 0.5186 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.1738, allocations: 7.938 kB / 0.5186 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.1739, allocations: 31.84 kB / 0.5186 GB, free: 4.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1739, allocations: 11.98 kB / 0.5186 GB, free: 4.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1739, allocations: 3.938 kB / 0.5186 GB, free: 4.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1739, allocations: 3.938 kB / 0.5186 GB, free: 4.617 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005325/0.1744, allocations: 266.3 kB / 0.5189 GB, free: 4.328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1744, allocations: 12.03 kB / 0.5189 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.1745, allocations: 4.891 kB / 0.5189 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1746, allocations: 110.5 kB / 0.519 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1746, allocations: 384 / 0.519 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.1746, allocations: 4.375 kB / 0.519 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.1749, allocations: 97.39 kB / 0.5191 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1749, allocations: 0 / 0.5191 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1749, allocations: 0 / 0.5191 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1749, allocations: 4 kB / 0.5191 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.92e-05/0.175, allocations: 23.86 kB / 0.5191 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.1754, allocations: 208.5 kB / 0.5193 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.624e-05/0.1755, allocations: 30.52 kB / 0.5194 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.1755, allocations: 20.91 kB / 0.5194 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1755, allocations: 4 kB / 0.5194 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.1756, allocations: 30.56 kB / 0.5194 GB, free: 3.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1756, allocations: 0 / 0.5194 GB, free: 3.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002547/0.1758, allocations: 73.56 kB / 0.5195 GB, free: 3.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.1759, allocations: 77.11 kB / 0.5196 GB, free: 3.523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.176, allocations: 105.8 kB / 0.5197 GB, free: 3.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1761, allocations: 29.7 kB / 0.5197 GB, free: 3.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.1761, allocations: 84.14 kB / 0.5198 GB, free: 3.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.1761, allocations: 3.953 kB / 0.5198 GB, free: 3.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.1762, allocations: 25.83 kB / 0.5198 GB, free: 3.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.1764, allocations: 314.8 kB / 0.5201 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.95e-05/0.1764, allocations: 11.98 kB / 0.5201 GB, free: 2.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.062e-05/0.1765, allocations: 51.42 kB / 0.5202 GB, free: 2.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.145e-05/0.1766, allocations: 28.78 kB / 0.5202 GB, free: 2.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1766, allocations: 0 / 0.5202 GB, free: 2.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001386/0.1767, allocations: 57.61 kB / 0.5202 GB, free: 2.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1767, allocations: 8 kB / 0.5202 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1767, allocations: 0 / 0.5202 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1768, allocations: 4.031 kB / 0.5203 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.1768, allocations: 11.98 kB / 0.5203 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1769, allocations: 0 / 0.5203 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.1769, allocations: 4 kB / 0.5203 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.1769, allocations: 4 kB / 0.5203 GB, free: 2.738 MB / 398.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: 2 (hysteresis.y,$PRE.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001042/0.177, allocations: 117.8 kB / 0.5204 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.1771, allocations: 7.953 kB / 0.5204 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.1771, allocations: 7.625 kB / 0.5204 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1771, allocations: 0 / 0.5204 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1771, allocations: 7.938 kB / 0.5204 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1771, allocations: 7.938 kB / 0.5204 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.1772, allocations: 105.3 kB / 0.5205 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1773, allocations: 3.938 kB / 0.5205 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.1773, allocations: 4 kB / 0.5205 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1773, allocations: 3.938 kB / 0.5205 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1773, allocations: 3.984 kB / 0.5205 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1773, allocations: 0 / 0.5205 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1773, allocations: 144 / 0.5205 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.1775, allocations: 151.5 kB / 0.5207 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.1775, allocations: 11.92 kB / 0.5207 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.1775, allocations: 7.984 kB / 0.5207 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.1776, allocations: 4 kB / 0.5207 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.1777, allocations: 7.984 kB / 0.5207 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1777, allocations: 0 / 0.5207 GB, free: 2.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.038e-05/0.1777, allocations: 87.27 kB / 0.5208 GB, free: 2.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1777, allocations: 4 kB / 0.5208 GB, free: 2.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002158/0.178, allocations: 4 kB / 0.5208 GB, free: 2.141 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001285/0.1781, allocations: 99.19 kB / 0.5209 GB, free: 2.035 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.1783, allocations: 31.97 kB / 0.5209 GB, free: 2.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1783, allocations: 0 / 0.5209 GB, free: 2.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.586e-05/0.1783, allocations: 8 kB / 0.5209 GB, free: 1.996 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.1785, allocations: 7.938 kB / 0.5209 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.1789, allocations: 134.7 kB / 0.5211 GB, free: 1.832 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.075e-05/0.179, allocations: 63.34 kB / 0.5211 GB, free: 1.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.023e-05/0.179, allocations: 4.062 kB / 0.5211 GB, free: 1.746 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.179, allocations: 15.42 kB / 0.5211 GB, free: 1.73 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.179, allocations: 0 / 0.5211 GB, free: 1.73 MB / 398.1 MB Notification: Performance of Templates: time 0.003511/0.1826, allocations: 0.6432 MB / 0.5218 GB, free: 1.094 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Hysteresis/Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.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: 5.315388007089496]