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.001243/0.001243, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.001529/0.001529, allocations: 211.7 kB / 22.99 MB, free: 5.609 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.525/1.525, allocations: 230.2 MB / 256.2 MB, free: 8.555 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.2831/0.2831, allocations: 46.9 MB / 359.4 MB, free: 4.852 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.00241/0.00241, allocations: 87.84 kB / 0.4946 GB, free: 8.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4353, allocations: 65.97 MB / 0.5591 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.002998/0.4383, allocations: 1.488 MB / 0.5605 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009468/0.4393, allocations: 482.8 kB / 0.561 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.4393, allocations: 4 kB / 0.561 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.4394, allocations: 4 kB / 0.561 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.889e-05/0.4394, allocations: 11.86 kB / 0.561 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.4397, allocations: 23.97 kB / 0.561 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.4398, allocations: 39.8 kB / 0.5611 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.4399, allocations: 8 kB / 0.5611 GB, free: 3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.44, allocations: 19.97 kB / 0.5611 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.733e-05/0.4401, allocations: 15.92 kB / 0.5611 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.4401, allocations: 4 kB / 0.5611 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.31e-05/0.4402, allocations: 4 kB / 0.5611 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.381e-05/0.4402, allocations: 15.92 kB / 0.5611 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.4402, allocations: 19.92 kB / 0.5611 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.4404, allocations: 38.5 kB / 0.5612 GB, free: 2.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4404, allocations: 0 / 0.5612 GB, free: 2.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4404, allocations: 0 / 0.5612 GB, free: 2.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.4404, allocations: 0 / 0.5612 GB, free: 2.887 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.0005439/0.4409, allocations: 357.8 kB / 0.5615 GB, free: 2.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4409, allocations: 8.031 kB / 0.5615 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.4411, allocations: 12.92 kB / 0.5615 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.4414, allocations: 184.3 kB / 0.5617 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.4414, allocations: 8.312 kB / 0.5617 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.4414, allocations: 384 / 0.5617 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.4416, allocations: 63.7 kB / 0.5618 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4416, allocations: 0 / 0.5618 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4416, allocations: 0 / 0.5618 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4416, allocations: 3.938 kB / 0.5618 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.566e-05/0.4417, allocations: 23.98 kB / 0.5618 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.4421, allocations: 264.8 kB / 0.5621 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.4422, allocations: 30.56 kB / 0.5621 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.4422, allocations: 20.91 kB / 0.5621 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.4423, allocations: 3.984 kB / 0.5621 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.4423, allocations: 42.5 kB / 0.5622 GB, free: 1.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.4423, allocations: 0 / 0.5622 GB, free: 1.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.000258/0.4426, allocations: 65.67 kB / 0.5622 GB, free: 1.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.4426, allocations: 77.11 kB / 0.5623 GB, free: 1.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.4427, allocations: 109.8 kB / 0.5624 GB, free: 1.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.4427, allocations: 25.7 kB / 0.5624 GB, free: 1.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/0.4428, allocations: 84.14 kB / 0.5625 GB, free: 1.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.4428, allocations: 16.02 kB / 0.5625 GB, free: 1.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.4429, allocations: 17.7 kB / 0.5625 GB, free: 1.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.443, allocations: 314.8 kB / 0.5628 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.076e-05/0.443, allocations: 15.98 kB / 0.5629 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.386e-05/0.4431, allocations: 25.66 kB / 0.5629 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.602e-05/0.4432, allocations: 28.78 kB / 0.5629 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4432, allocations: 4.031 kB / 0.5629 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001266/0.4433, allocations: 57.67 kB / 0.563 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4433, allocations: 8 kB / 0.563 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.4433, allocations: 0 / 0.563 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4433, allocations: 0 / 0.563 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.327e-05/0.4434, allocations: 7.984 kB / 0.563 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.4434, allocations: 0 / 0.563 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.359e-05/0.4435, allocations: 7.953 kB / 0.563 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.4435, allocations: 0 / 0.563 GB, free: 0.8008 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 9.44e-05/0.4436, allocations: 125.7 kB / 0.5631 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.4436, allocations: 8 kB / 0.5631 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.4436, allocations: 7.469 kB / 0.5631 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.4436, allocations: 0 / 0.5631 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4436, allocations: 0 / 0.5631 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.4436, allocations: 0 / 0.5631 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.4438, allocations: 170 kB / 0.5633 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4438, allocations: 0 / 0.5633 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.4439, allocations: 7.984 kB / 0.5633 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4439, allocations: 0 / 0.5633 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.4439, allocations: 7.938 kB / 0.5633 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4439, allocations: 0 / 0.5633 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4439, allocations: 0 / 0.5633 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.4441, allocations: 151.4 kB / 0.5634 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.4441, allocations: 81.09 kB / 0.5635 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.4441, allocations: 0 / 0.5635 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/0.4442, allocations: 19.97 kB / 0.5635 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.4443, allocations: 3.984 kB / 0.5635 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.4443, allocations: 4 kB / 0.5635 GB, free: 136 kB / 398.1 MB Notification: Performance of sorting global known variables: time 5.499e-05/0.4443, allocations: 87.27 kB / 0.5636 GB, free: 48 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4443, allocations: 0 / 0.5636 GB, free: 48 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002077/0.4445, allocations: 8 kB / 0.5636 GB, free: 40 kB / 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.0001312/0.4447, allocations: 91.3 kB / 0.5637 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.4448, allocations: 35.92 kB / 0.5638 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4448, allocations: 0 / 0.5638 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.683e-05/0.4449, allocations: 11.94 kB / 0.5638 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.4451, allocations: 6.125 kB / 0.5638 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.4454, allocations: 130.7 kB / 0.5639 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.4457, allocations: 0.6807 MB / 0.5646 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.97e-05/0.4458, allocations: 12.27 kB / 0.5646 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.4458, allocations: 11.44 kB / 0.5646 GB, free: 15 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4458, allocations: 0 / 0.5646 GB, free: 15 MB / 414.1 MB Notification: Performance of Templates: time 0.003196/0.449, allocations: 0.6032 MB / 0.5652 GB, free: 14.4 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.32063405495137]