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.001713/0.001713, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002494/0.002494, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.594/1.594, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.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.2646/0.2646, allocations: 46.94 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 179] 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.002874/0.002874, allocations: 75.88 kB / 0.4966 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5231/0.526, allocations: 66.1 MB / 0.5612 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.003199/0.5292, allocations: 1.453 MB / 0.5626 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009647/0.5302, allocations: 450.9 kB / 0.563 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.5302, allocations: 8 kB / 0.563 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.5303, allocations: 3.938 kB / 0.563 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.966e-05/0.5303, allocations: 3.938 kB / 0.563 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.5306, allocations: 31.89 kB / 0.5631 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.5307, allocations: 39.86 kB / 0.5631 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.5309, allocations: 4 kB / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.531, allocations: 19.92 kB / 0.5631 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/0.5311, allocations: 23.91 kB / 0.5631 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.5311, allocations: 0 / 0.5631 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.778e-05/0.5311, allocations: 8 kB / 0.5632 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.5312, allocations: 11.94 kB / 0.5632 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.5312, allocations: 15.92 kB / 0.5632 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.5313, allocations: 35.55 kB / 0.5632 GB, free: 1.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.5313, allocations: 4 kB / 0.5632 GB, free: 1.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.5313, allocations: 0 / 0.5632 GB, free: 1.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.5313, allocations: 0 / 0.5632 GB, free: 1.824 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.0005486/0.5319, allocations: 272.9 kB / 0.5635 GB, free: 1.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5319, allocations: 12.03 kB / 0.5635 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.5321, allocations: 12.92 kB / 0.5635 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.5324, allocations: 126.4 kB / 0.5636 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.5324, allocations: 4.312 kB / 0.5636 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.5324, allocations: 4.375 kB / 0.5636 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.5326, allocations: 85.41 kB / 0.5637 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.5326, allocations: 0 / 0.5637 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.5326, allocations: 8 kB / 0.5637 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5327, allocations: 0 / 0.5637 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.914e-05/0.5327, allocations: 19.98 kB / 0.5637 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.5331, allocations: 200.6 kB / 0.5639 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.5332, allocations: 42.44 kB / 0.564 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.5333, allocations: 20.91 kB / 0.564 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.5333, allocations: 0 / 0.564 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.5334, allocations: 30.56 kB / 0.564 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.5334, allocations: 7.938 kB / 0.564 GB, free: 0.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002571/0.5336, allocations: 61.61 kB / 0.5641 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.5337, allocations: 77.11 kB / 0.5642 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.5338, allocations: 118 kB / 0.5643 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.5338, allocations: 25.7 kB / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.5339, allocations: 88.14 kB / 0.5644 GB, free: 480 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.5339, allocations: 7.891 kB / 0.5644 GB, free: 472 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.534, allocations: 21.7 kB / 0.5644 GB, free: 444 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.5341, allocations: 310.8 kB / 0.5647 GB, free: 124 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.346e-05/0.5342, allocations: 15.98 kB / 0.5647 GB, free: 108 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.5343, allocations: 51.41 kB / 0.5648 GB, free: 44 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.653e-05/0.5343, allocations: 28.92 kB / 0.5648 GB, free: 12 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5343, allocations: 4.031 kB / 0.5648 GB, free: 8 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002433/0.5346, allocations: 65.67 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.5346, allocations: 4 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5346, allocations: 0 / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.5346, allocations: 4.375 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.285e-05/0.5347, allocations: 3.984 kB / 0.5649 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.5347, allocations: 0 / 0.5649 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.744e-05/0.5348, allocations: 15.95 kB / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.5348, allocations: 7.922 kB / 0.5649 GB, free: 15.9 MB / 414.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.000103/0.5349, allocations: 117.8 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.5349, allocations: 0 / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.5349, allocations: 11.62 kB / 0.565 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5349, allocations: 0 / 0.565 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5349, allocations: 0 / 0.565 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5349, allocations: 0 / 0.565 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.5351, allocations: 109.3 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5351, allocations: 3.938 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.5351, allocations: 7.984 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.5351, allocations: 0 / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.5351, allocations: 0 / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5351, allocations: 4 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5352, allocations: 3.938 kB / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.5353, allocations: 155.5 kB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-06/0.5354, allocations: 7.766 kB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.5354, allocations: 0 / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.5355, allocations: 8 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.5355, allocations: 3.984 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.5355, allocations: 7.984 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.32e-05/0.5356, allocations: 83.28 kB / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5356, allocations: 4.031 kB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.5358, allocations: 8 kB / 0.5654 GB, free: 15.32 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.0001196/0.5359, allocations: 99.23 kB / 0.5655 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.536, allocations: 27.92 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5361, allocations: 0 / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.279e-05/0.5361, allocations: 12 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.5363, allocations: 6.328 kB / 0.5656 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.5366, allocations: 131 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.5367, allocations: 63.62 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.026e-05/0.5368, allocations: 0 / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.5368, allocations: 15.44 kB / 0.5658 GB, free: 14.92 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.5368, allocations: 3.938 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of Templates: time 0.003369/0.5402, allocations: 0.6519 MB / 0.5664 GB, free: 14.27 MB / 414.1 MB " [Timeout remaining time 659] 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.1.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.6486416310071945]