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.001822/0.001823, allocations: 118 kB / 18.46 MB, free: 4.613 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.002001/0.002002, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.566/1.566, allocations: 227.4 MB / 251.6 MB, free: 52 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.2592/0.2592, allocations: 46.17 MB / 351.1 MB, free: 14.27 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.002307/0.002307, allocations: 77.36 kB / 490.2 MB, free: 28.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1645, allocations: 62.44 MB / 0.5397 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.003344/0.1679, allocations: 1.476 MB / 0.5411 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009741/0.1689, allocations: 482.8 kB / 0.5416 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.169, allocations: 0 / 0.5416 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.169, allocations: 3.938 kB / 0.5416 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.022e-05/0.1691, allocations: 11.91 kB / 0.5416 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.1694, allocations: 23.92 kB / 0.5416 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.1695, allocations: 35.86 kB / 0.5416 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1696, allocations: 15.98 kB / 0.5416 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.1697, allocations: 23.91 kB / 0.5417 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.064e-05/0.1698, allocations: 19.92 kB / 0.5417 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.1698, allocations: 0 / 0.5417 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.487e-05/0.1699, allocations: 8 kB / 0.5417 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.1699, allocations: 7.938 kB / 0.5417 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.1699, allocations: 19.91 kB / 0.5417 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.1701, allocations: 35.84 kB / 0.5418 GB, free: 2.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1701, allocations: 0 / 0.5418 GB, free: 2.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1701, allocations: 0 / 0.5418 GB, free: 2.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1701, allocations: 4 kB / 0.5418 GB, free: 2.219 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.0004908/0.1706, allocations: 350.3 kB / 0.5421 GB, free: 1.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1706, allocations: 12.03 kB / 0.5421 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.1708, allocations: 12.92 kB / 0.5421 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.1711, allocations: 188.2 kB / 0.5423 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1711, allocations: 4.312 kB / 0.5423 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.1711, allocations: 4.312 kB / 0.5423 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.1713, allocations: 67.7 kB / 0.5424 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1713, allocations: 0 / 0.5424 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1713, allocations: 0 / 0.5424 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1713, allocations: 0 / 0.5424 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.571e-05/0.1714, allocations: 23.97 kB / 0.5424 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.1719, allocations: 272.8 kB / 0.5427 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.458e-05/0.172, allocations: 34.56 kB / 0.5427 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.172, allocations: 16.92 kB / 0.5427 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.1721, allocations: 0 / 0.5427 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.1721, allocations: 30.56 kB / 0.5427 GB, free: 1.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1721, allocations: 0 / 0.5427 GB, free: 1.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002962/0.1724, allocations: 65.61 kB / 0.5428 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/0.1725, allocations: 81.11 kB / 0.5429 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1726, allocations: 109.8 kB / 0.543 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1726, allocations: 25.7 kB / 0.543 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.1727, allocations: 92.12 kB / 0.5431 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.1727, allocations: 3.953 kB / 0.5431 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.1728, allocations: 17.72 kB / 0.5431 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.173, allocations: 315 kB / 0.5434 GB, free: 312 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.173, allocations: 16 kB / 0.5434 GB, free: 296 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.326e-05/0.1731, allocations: 25.7 kB / 0.5435 GB, free: 264 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.353e-05/0.1732, allocations: 28.78 kB / 0.5435 GB, free: 232 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1732, allocations: 0 / 0.5435 GB, free: 232 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001294/0.1734, allocations: 65.61 kB / 0.5435 GB, free: 160 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1734, allocations: 4 kB / 0.5435 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1734, allocations: 32 / 0.5435 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1734, allocations: 8 kB / 0.5436 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.749e-05/0.1735, allocations: 0 / 0.5436 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.1735, allocations: 0 / 0.5436 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.1736, allocations: 15.94 kB / 0.5436 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.1736, allocations: 384 / 0.5436 GB, free: 132 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.0001159/0.1737, allocations: 113.8 kB / 0.5437 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1737, allocations: 0 / 0.5437 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.996e-05/0.1738, allocations: 11.61 kB / 0.5437 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1738, allocations: 15.86 kB / 0.5437 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1738, allocations: 0 / 0.5437 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.1738, allocations: 0 / 0.5437 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.174, allocations: 165.6 kB / 0.5439 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.174, allocations: 0 / 0.5439 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/0.1741, allocations: 4 kB / 0.5439 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1741, allocations: 8 kB / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1741, allocations: 0 / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1741, allocations: 3.938 kB / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1741, allocations: 0 / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.1743, allocations: 155.4 kB / 0.544 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.1744, allocations: 81.11 kB / 0.5441 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.1744, allocations: 0 / 0.5441 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.041e-05/0.1745, allocations: 7.984 kB / 0.5441 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.1746, allocations: 11.98 kB / 0.5441 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.1746, allocations: 0 / 0.5441 GB, free: 15.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.936e-05/0.1747, allocations: 95.3 kB / 0.5442 GB, free: 15.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1747, allocations: 0 / 0.5442 GB, free: 15.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.1749, allocations: 7.938 kB / 0.5442 GB, free: 15.36 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.000122/0.175, allocations: 91.25 kB / 0.5443 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.1752, allocations: 36.06 kB / 0.5443 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1752, allocations: 0 / 0.5443 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.031e-05/0.1753, allocations: 11.98 kB / 0.5444 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.1755, allocations: 8 kB / 0.5444 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.1758, allocations: 122.7 kB / 0.5445 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.1762, allocations: 0.6768 MB / 0.5451 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.928e-05/0.1763, allocations: 7.984 kB / 0.5451 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.1763, allocations: 7.438 kB / 0.5452 GB, free: 14.34 MB / 414.1 MB Notification: Performance of SimCode: time 5.049e-06/0.1763, allocations: 0 / 0.5452 GB, free: 14.34 MB / 414.1 MB Notification: Performance of Templates: time 0.003364/0.1797, allocations: 0.6004 MB / 0.5457 GB, free: 13.75 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Hysteresis/Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.40237210970372]