Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.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.001098/0.001098, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001528/0.002626, allocations: 457.8 kB / 10.45 MB, free: 244 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.001141/0.001141, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001652/0.002793, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 1.028/1.028, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09807/1.126, allocations: 53.87 MB / 243.9 MB, free: 14.87 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.2862/0.2862, allocations: 34.88 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02757/0.3138, allocations: 13.23 MB / 292.8 MB, free: 6.418 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.ZeroThresholds,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|greaterThreshold.y|greaterEqualThreshold.y|lessThreshold.y|lessEqualThreshold.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds") translateModel(ModelicaTest.Blocks.ZeroThresholds,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|greaterThreshold.y|greaterEqualThreshold.y|lessThreshold.y|lessEqualThreshold.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 294.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.641e-05, allocations: 8.094 kB / 294.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.002037/0.002053, allocations: 1.795 MB / 295.9 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002668/0.00232, allocations: 167.4 kB / 296 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.002377, allocations: 0 / 296 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.341e-05/0.0024, allocations: 7.875 kB / 296.1 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.131e-05/0.002431, allocations: 15.86 kB / 296.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.002616, allocations: 99.8 kB / 296.2 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.002744, allocations: 107.8 kB / 296.3 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.661e-05/0.00284, allocations: 34.11 kB / 296.3 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.739e-05/0.002938, allocations: 63.88 kB / 296.4 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.002986, allocations: 31.91 kB / 296.4 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.003009, allocations: 8 kB / 296.4 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.003022, allocations: 8 kB / 296.4 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.003042, allocations: 15.94 kB / 296.4 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.003065, allocations: 19.94 kB / 296.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.003165, allocations: 63.75 kB / 296.5 MB, free: 2.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.003174, allocations: 0 / 296.5 MB, free: 2.688 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003175, allocations: 4 kB / 296.5 MB, free: 2.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.003183, allocations: 0 / 296.5 MB, free: 2.684 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0003924/0.003576, allocations: 345.3 kB / 296.9 MB, free: 2.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.003604, allocations: 8.031 kB / 296.9 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.00364, allocations: 12.94 kB / 296.9 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.003774, allocations: 136.4 kB / 297 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.003782, allocations: 12.31 kB / 297 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.003794, allocations: 8.375 kB / 297 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.003973, allocations: 191.3 kB / 297.2 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.003979, allocations: 192 / 297.2 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.003988, allocations: 4.375 kB / 297.2 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.003995, allocations: 8.359 kB / 297.2 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.035e-05/0.004035, allocations: 31.86 kB / 297.3 MB, free: 1.859 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.004345, allocations: 388.4 kB / 297.6 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.717e-05/0.004432, allocations: 66.52 kB / 297.7 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.004454, allocations: 16.8 kB / 297.7 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.004471, allocations: 3.984 kB / 297.7 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.00449, allocations: 38.55 kB / 297.8 MB, free: 1.312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.004491, allocations: 0 / 297.8 MB, free: 1.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001176/0.004608, allocations: 61.69 kB / 297.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.004632, allocations: 55.39 kB / 297.9 MB, free: 1.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.0047, allocations: 137 kB / 298 MB, free: 1.035 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.004714, allocations: 29.7 kB / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.004759, allocations: 108.7 kB / 298.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.004772, allocations: 23.84 kB / 298.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.004807, allocations: 29.7 kB / 298.2 MB, free: 0.832 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.004881, allocations: 326.8 kB / 298.5 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.498e-05/0.004896, allocations: 4 kB / 298.5 MB, free: 0.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.743e-05/0.004943, allocations: 91.69 kB / 298.6 MB, free: 392 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/0.004992, allocations: 54.77 kB / 298.7 MB, free: 328 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.004994, allocations: 0 / 298.7 MB, free: 328 kB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.13e-05/0.005066, allocations: 69.55 kB / 298.7 MB, free: 252 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.005076, allocations: 12.09 kB / 298.7 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.00508, allocations: 0 / 298.7 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.005089, allocations: 0 / 298.7 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/0.005165, allocations: 19.98 kB / 298.8 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.005169, allocations: 4 kB / 298.8 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.005218, allocations: 27.86 kB / 298.8 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.005223, allocations: 0 / 298.8 MB, free: 188 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (lessEqualThreshold.y,lessThreshold.y,greaterEqualThreshold.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.012e-05/0.005283, allocations: 118.5 kB / 298.9 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.005301, allocations: 15.92 kB / 298.9 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.005327, allocations: 16.78 kB / 298.9 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.00533, allocations: 7.938 kB / 298.9 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.005332, allocations: 0 / 298.9 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.005335, allocations: 0 / 298.9 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.005441, allocations: 89.84 kB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.005442, allocations: 4 kB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.005481, allocations: 15.98 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.005491, allocations: 11.89 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.005492, allocations: 0 / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.005496, allocations: 0 / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.005497, allocations: 4 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.005498, allocations: 0 / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.825e-05/0.005596, allocations: 163.4 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.005608, allocations: 7.938 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.515e-05/0.005663, allocations: 15.98 kB / 299.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.005692, allocations: 11.98 kB / 299.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.005696, allocations: 4 kB / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.962e-05/0.005715, allocations: 24.84 kB / 299.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005715, allocations: 0 / 299.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001209/0.005836, allocations: 19.89 kB / 299.3 MB, free: 15.62 MB / 298.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: 4 (greaterThreshold.y,greaterEqualThreshold.y,lessThreshold.y,lessEqualThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 5.604e-05/0.005892, allocations: 84.41 kB / 299.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.938e-05/0.005972, allocations: 48.7 kB / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.005976, allocations: 0 / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.528e-05/0.006011, allocations: 32.84 kB / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.006181, allocations: 101.8 kB / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.006563, allocations: 209.6 kB / 299.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.233e-05/0.006596, allocations: 63.53 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.459e-05/0.00663, allocations: 20.7 kB / 299.9 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.494e-05/0.006715, allocations: 79.34 kB / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.006716, allocations: 0 / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of Templates: time 0.002763/0.009479, allocations: 1.669 MB / 301.6 MB, free: 13.27 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ZeroThresholds/ZeroThresholds.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7626010132953525]