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.0007807/0.0007807, allocations: 80.11 kB / 9.937 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.001889, allocations: 445.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007103/0.0007103, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008676/0.001578, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9748/0.9748, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09408/1.069, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.2808/0.2808, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02469/0.3055, allocations: 13.23 MB / 292.6 MB, free: 6.477 MB / 282.7 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 1.333e-06/1.333e-06, allocations: 0 / 293.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.74e-05, allocations: 6.312 kB / 293.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.002189/0.002206, allocations: 1.544 MB / 295.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005389/0.002745, allocations: 478.7 kB / 295.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.002785, allocations: 0 / 295.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.992e-05/0.002805, allocations: 3.984 kB / 295.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.282e-05/0.002828, allocations: 11.88 kB / 295.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.002934, allocations: 31.84 kB / 295.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.763e-05/0.003012, allocations: 31.86 kB / 295.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.764e-05/0.00308, allocations: 11.98 kB / 296 MB, free: 3.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.00319, allocations: 35.91 kB / 296 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.948e-05/0.00324, allocations: 11.98 kB / 296 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.003254, allocations: 4 kB / 296 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.497e-05/0.003309, allocations: 4 kB / 296 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.00332, allocations: 7.938 kB / 296 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.48e-05/0.003335, allocations: 8 kB / 296 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.937e-05/0.003424, allocations: 35.84 kB / 296.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.25e-05/0.003436, allocations: 0 / 296.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003437, allocations: 3.938 kB / 296.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.003448, allocations: 0 / 296.1 MB, free: 2.977 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.0003602/0.003808, allocations: 253.8 kB / 296.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.003844, allocations: 8.922 kB / 296.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.003992, allocations: 94.03 kB / 296.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.004118, allocations: 117.7 kB / 296.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-06/0.004124, allocations: 384 / 296.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.004133, allocations: 8.375 kB / 296.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.004248, allocations: 94.36 kB / 296.6 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.004254, allocations: 192 / 296.6 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.004265, allocations: 384 / 296.6 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.00427, allocations: 3.938 kB / 296.6 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.287e-05/0.004293, allocations: 7.938 kB / 296.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.004484, allocations: 148.3 kB / 296.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.422e-05/0.004529, allocations: 26.61 kB / 296.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.004543, allocations: 12.91 kB / 296.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.004554, allocations: 4 kB / 296.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.004574, allocations: 30.56 kB / 296.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.004575, allocations: 3.938 kB / 296.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 9.852e-05/0.004674, allocations: 45.62 kB / 296.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.004698, allocations: 51.41 kB / 297 MB, free: 1.945 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.459e-05/0.004753, allocations: 111.6 kB / 297.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.00477, allocations: 33.7 kB / 297.1 MB, free: 1.785 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.668e-05/0.004797, allocations: 80.14 kB / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.004812, allocations: 7.938 kB / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.004838, allocations: 17.69 kB / 297.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.931e-05/0.004907, allocations: 319 kB / 297.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.004916, allocations: 4 kB / 297.5 MB, free: 1.348 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.004941, allocations: 47.34 kB / 297.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.255e-05/0.004963, allocations: 12.94 kB / 297.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.004965, allocations: 0 / 297.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.817e-05/0.005003, allocations: 41.69 kB / 297.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.005014, allocations: 8 kB / 297.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.005018, allocations: 0 / 297.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/0.005026, allocations: 3.938 kB / 297.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.039e-05/0.005076, allocations: 7.984 kB / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.005078, allocations: 0 / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.005102, allocations: 15.98 kB / 297.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.005105, allocations: 0 / 297.7 MB, free: 1.191 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 5.372e-05/0.005158, allocations: 117.8 kB / 297.8 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.00517, allocations: 3.984 kB / 297.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.005195, allocations: 11.62 kB / 297.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.005198, allocations: 3.938 kB / 297.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.005199, allocations: 0 / 297.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.005202, allocations: 0 / 297.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.153e-05/0.005273, allocations: 65.89 kB / 297.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.005275, allocations: 4 kB / 297.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.00529, allocations: 4 kB / 297.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.005297, allocations: 4 kB / 297.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.005298, allocations: 0 / 297.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.005303, allocations: 0 / 297.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.005307, allocations: 7.922 kB / 297.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.005308, allocations: 0 / 297.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.963e-05/0.005377, allocations: 127.6 kB / 298 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.005393, allocations: 7.922 kB / 298 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.228e-05/0.005425, allocations: 8 kB / 298 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.005463, allocations: 11.92 kB / 298 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.005465, allocations: 4.031 kB / 298 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.307e-05/0.005478, allocations: 17.39 kB / 298 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005478, allocations: 0 / 298 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001098/0.005588, allocations: 11.94 kB / 298.1 MB, free: 0.7422 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 6.336e-05/0.005652, allocations: 76.42 kB / 298.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.975e-05/0.005711, allocations: 12.86 kB / 298.1 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.005716, allocations: 3.984 kB / 298.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-05/0.005733, allocations: 12.8 kB / 298.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.91e-05/0.005832, allocations: 8.062 kB / 298.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.006389, allocations: 145.2 kB / 298.3 MB, free: 460 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.002e-05/0.006419, allocations: 53.14 kB / 298.4 MB, free: 388 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.736e-05/0.006437, allocations: 4 kB / 298.4 MB, free: 384 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.006479, allocations: 55.36 kB / 298.4 MB, free: 328 kB / 282.7 MB Notification: Performance of SimCode: time 3.51e-07/0.006479, allocations: 0 / 298.4 MB, free: 328 kB / 282.7 MB Notification: Performance of Templates: time 0.001903/0.008383, allocations: 0.6988 MB / 299.1 MB, free: 15.63 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7421212578192353]