Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001851/0.001851, allocations: 116.1 kB / 19.13 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002172/0.002172, allocations: 208.9 kB / 22.08 MB, free: 1.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 252.3 MB, free: 88 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.17 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003224/0.003224, allocations: 86.45 kB / 490.9 MB, free: 28.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1614, allocations: 62.45 MB / 0.5403 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.00443/0.1659, allocations: 1.467 MB / 0.5418 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1673, allocations: 486.8 kB / 0.5422 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.9e-05/0.1674, allocations: 0 / 0.5422 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.99e-05/0.1676, allocations: 3.938 kB / 0.5422 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.931e-05/0.1676, allocations: 3.938 kB / 0.5422 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.168, allocations: 35.89 kB / 0.5423 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.1681, allocations: 31.92 kB / 0.5423 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1683, allocations: 11.94 kB / 0.5423 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.1685, allocations: 23.92 kB / 0.5423 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.44e-05/0.1686, allocations: 19.91 kB / 0.5424 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.1686, allocations: 4 kB / 0.5424 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.997e-05/0.1687, allocations: 4 kB / 0.5424 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.1687, allocations: 11.92 kB / 0.5424 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.1688, allocations: 11.94 kB / 0.5424 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.169, allocations: 39.83 kB / 0.5424 GB, free: 2.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.169, allocations: 3.984 kB / 0.5424 GB, free: 2.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.169, allocations: 0 / 0.5424 GB, free: 2.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.169, allocations: 4 kB / 0.5424 GB, free: 2.105 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.0006329/0.1696, allocations: 355.3 kB / 0.5428 GB, free: 1.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.1697, allocations: 8.031 kB / 0.5428 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.1699, allocations: 12.92 kB / 0.5428 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1702, allocations: 176.3 kB / 0.543 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1702, allocations: 4.312 kB / 0.543 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1703, allocations: 4.375 kB / 0.543 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.1705, allocations: 63.72 kB / 0.543 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1705, allocations: 3.938 kB / 0.543 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.1706, allocations: 3.984 kB / 0.543 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.1706, allocations: 7.938 kB / 0.543 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.1707, allocations: 15.98 kB / 0.5431 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.1713, allocations: 264.9 kB / 0.5433 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.1715, allocations: 38.5 kB / 0.5433 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.316e-05/0.1715, allocations: 16.91 kB / 0.5434 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.1716, allocations: 0 / 0.5434 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.1716, allocations: 30.56 kB / 0.5434 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.873e-06/0.1716, allocations: 0 / 0.5434 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003394/0.172, allocations: 73.7 kB / 0.5435 GB, free: 0.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.1721, allocations: 77.11 kB / 0.5435 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1722, allocations: 109.8 kB / 0.5436 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.1723, allocations: 29.7 kB / 0.5437 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.1724, allocations: 80.14 kB / 0.5437 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.1724, allocations: 11.95 kB / 0.5438 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.1725, allocations: 13.7 kB / 0.5438 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1726, allocations: 318.8 kB / 0.5441 GB, free: 200 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.1727, allocations: 16.02 kB / 0.5441 GB, free: 184 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.481e-05/0.1728, allocations: 29.7 kB / 0.5441 GB, free: 148 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.173, allocations: 28.78 kB / 0.5441 GB, free: 116 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.173, allocations: 0 / 0.5441 GB, free: 116 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002113/0.1732, allocations: 57.61 kB / 0.5442 GB, free: 52 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.1732, allocations: 10.34 kB / 0.5442 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1732, allocations: 0 / 0.5442 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1733, allocations: 4.031 kB / 0.5442 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.505e-05/0.1734, allocations: 7.984 kB / 0.5442 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1734, allocations: 0 / 0.5442 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.533e-05/0.1735, allocations: 7.953 kB / 0.5442 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1735, allocations: 0 / 0.5442 GB, free: 24 kB / 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.0001458/0.1737, allocations: 121.8 kB / 0.5443 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.1737, allocations: 4 kB / 0.5444 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.1738, allocations: 7.531 kB / 0.5444 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1738, allocations: 4 kB / 0.5444 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1738, allocations: 384 / 0.5444 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1738, allocations: 3.938 kB / 0.5444 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.1741, allocations: 169.6 kB / 0.5445 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1741, allocations: 0 / 0.5445 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.1742, allocations: 7.938 kB / 0.5445 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1742, allocations: 0 / 0.5445 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.1742, allocations: 3.984 kB / 0.5445 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1742, allocations: 0 / 0.5445 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.1742, allocations: 3.938 kB / 0.5445 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.1745, allocations: 159.4 kB / 0.5447 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.1746, allocations: 81.05 kB / 0.5448 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.1746, allocations: 3.984 kB / 0.5448 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.1748, allocations: 4 kB / 0.5448 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.1748, allocations: 7.984 kB / 0.5448 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1749, allocations: 0 / 0.5448 GB, free: 15.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.631e-05/0.1749, allocations: 95.3 kB / 0.5449 GB, free: 15.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.175, allocations: 0 / 0.5449 GB, free: 15.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000388/0.1753, allocations: 8 kB / 0.5449 GB, free: 15.26 MB / 414.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.0001298/0.1755, allocations: 95.25 kB / 0.545 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.1757, allocations: 27.92 kB / 0.545 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1758, allocations: 0 / 0.545 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.311e-05/0.1758, allocations: 15.98 kB / 0.545 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.1762, allocations: 9.688 kB / 0.545 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.1767, allocations: 148.4 kB / 0.5452 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.177, allocations: 0.6807 MB / 0.5458 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.1771, allocations: 15.42 kB / 0.5458 GB, free: 14.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1771, allocations: 0 / 0.5458 GB, free: 14.2 MB / 414.1 MB Notification: Performance of Templates: time 0.00303/0.1801, allocations: 0.6708 MB / 0.5465 GB, free: 13.54 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Hysteresis/Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.5476554919732735]