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.001825/0.001825, allocations: 88.23 kB / 20.2 MB, free: 4.227 MB / 18.57 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.002301/0.002301, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 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.527/1.527, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 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.2375/0.2375, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.923e-05, allocations: 2.312 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.002328/0.002357, allocations: 1.438 MB / 348.4 MB, free: 8.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008827/0.00324, allocations: 443.9 kB / 348.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.003282, allocations: 0 / 348.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.003314, allocations: 0 / 348.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.104e-05/0.003375, allocations: 7.875 kB / 348.8 MB, free: 7.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.003593, allocations: 15.97 kB / 348.8 MB, free: 7.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.259e-05/0.003675, allocations: 35.86 kB / 348.9 MB, free: 7.871 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.003797, allocations: 7.984 kB / 348.9 MB, free: 7.863 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.003922, allocations: 31.8 kB / 348.9 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.365e-05/0.003986, allocations: 15.97 kB / 348.9 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.004006, allocations: 4 kB / 348.9 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.004017, allocations: 4 kB / 348.9 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.004035, allocations: 4 kB / 348.9 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.004069, allocations: 11.94 kB / 348.9 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.759e-05/0.004166, allocations: 27.95 kB / 349 MB, free: 7.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.004169, allocations: 0 / 349 MB, free: 7.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.00417, allocations: 0 / 349 MB, free: 7.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.004175, allocations: 0 / 349 MB, free: 7.766 MB / 282.7 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.0004338/0.004609, allocations: 270.3 kB / 349.2 MB, free: 7.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.004659, allocations: 12.03 kB / 349.2 MB, free: 7.461 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.00471, allocations: 12.89 kB / 349.2 MB, free: 7.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.172e-05/0.004792, allocations: 121.7 kB / 349.4 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.004807, allocations: 4.375 kB / 349.4 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.004818, allocations: 384 / 349.4 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.004987, allocations: 89.59 kB / 349.5 MB, free: 7.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.004997, allocations: 192 / 349.5 MB, free: 7.195 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.005008, allocations: 384 / 349.5 MB, free: 7.195 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.005013, allocations: 3.938 kB / 349.5 MB, free: 7.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.815e-05/0.005101, allocations: 23.98 kB / 349.5 MB, free: 7.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.005445, allocations: 204.6 kB / 349.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.403e-05/0.005529, allocations: 38.44 kB / 349.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.225e-05/0.005571, allocations: 12.92 kB / 349.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.005598, allocations: 0 / 349.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.00562, allocations: 34.5 kB / 349.8 MB, free: 6.832 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.005621, allocations: 0 / 349.8 MB, free: 6.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002389/0.00586, allocations: 69.77 kB / 349.8 MB, free: 6.758 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.005895, allocations: 77.11 kB / 349.9 MB, free: 6.664 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.875e-05/0.005964, allocations: 109.8 kB / 350 MB, free: 6.547 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.005977, allocations: 33.7 kB / 350.1 MB, free: 6.508 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.006011, allocations: 84.12 kB / 350.1 MB, free: 6.422 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.00603, allocations: 7.953 kB / 350.1 MB, free: 6.414 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.00606, allocations: 13.72 kB / 350.2 MB, free: 6.395 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.161e-05/0.006112, allocations: 322.8 kB / 350.5 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.213e-05/0.006154, allocations: 4 kB / 350.5 MB, free: 6.066 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.845e-05/0.006202, allocations: 55.41 kB / 350.5 MB, free: 6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.241e-05/0.006275, allocations: 36.98 kB / 350.6 MB, free: 5.961 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006276, allocations: 0 / 350.6 MB, free: 5.961 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001029/0.006379, allocations: 65.56 kB / 350.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.006393, allocations: 7.938 kB / 350.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.006398, allocations: 0 / 350.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.006418, allocations: 0 / 350.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-05/0.006489, allocations: 4 kB / 350.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.006496, allocations: 0 / 350.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.006549, allocations: 7.984 kB / 350.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.006557, allocations: 8 kB / 350.7 MB, free: 5.863 MB / 282.7 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 6.45e-05/0.006621, allocations: 109.8 kB / 350.8 MB, free: 5.746 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.006645, allocations: 7.938 kB / 350.8 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.006668, allocations: 7.625 kB / 350.8 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.00667, allocations: 7.984 kB / 350.8 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.006675, allocations: 0 / 350.8 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006677, allocations: 0 / 350.8 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.833e-05/0.006776, allocations: 105.3 kB / 350.9 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006777, allocations: 0 / 350.9 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.006813, allocations: 4 kB / 350.9 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.006814, allocations: 4 kB / 350.9 MB, free: 5.586 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.006823, allocations: 3.938 kB / 350.9 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006824, allocations: 3.938 kB / 350.9 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006825, allocations: 4 kB / 350.9 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.006955, allocations: 155.4 kB / 351.1 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.006963, allocations: 4 kB / 351.1 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.006982, allocations: 3.938 kB / 351.1 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.00706, allocations: 7.984 kB / 351.1 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.00711, allocations: 11.98 kB / 351.1 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.007114, allocations: 4.031 kB / 351.1 MB, free: 5.375 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.595e-05/0.00714, allocations: 91.58 kB / 351.2 MB, free: 5.285 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00714, allocations: 0 / 351.2 MB, free: 5.285 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.00735, allocations: 4 kB / 351.2 MB, free: 5.281 MB / 282.7 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 8.808e-05/0.007438, allocations: 91.25 kB / 351.3 MB, free: 5.184 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.007577, allocations: 27.92 kB / 351.3 MB, free: 5.156 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.007578, allocations: 0 / 351.3 MB, free: 5.156 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.007619, allocations: 15.98 kB / 351.3 MB, free: 5.141 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.007846, allocations: 8.062 kB / 351.3 MB, free: 5.133 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.008127, allocations: 131.6 kB / 351.5 MB, free: 4.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.126e-05/0.008168, allocations: 67.48 kB / 351.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.426e-05/0.008202, allocations: 0 / 351.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.008236, allocations: 12.5 kB / 351.5 MB, free: 4.883 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.008236, allocations: 0 / 351.5 MB, free: 4.883 MB / 282.7 MB Notification: Performance of Templates: time 0.003053/0.01129, allocations: 0.6596 MB / 352.2 MB, free: 4.234 MB / 282.7 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: 4.92772205802612]