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.0007351/0.0007351, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009833/0.001718, allocations: 449.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.0007199/0.0007199, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008752/0.001595, 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.9516/0.9516, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08811/1.04, 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.2631/0.2631, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0253/0.2884, allocations: 13.23 MB / 292.6 MB, free: 6.473 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.203e-06/1.203e-06, allocations: 0 / 293.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.716e-06/9.919e-06, allocations: 3.188 kB / 293.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.001721/0.001731, allocations: 1.796 MB / 295.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002235/0.001954, allocations: 159.4 kB / 295.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.002007, allocations: 4 kB / 295.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.002032, allocations: 7.875 kB / 295.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.913e-05/0.002061, allocations: 11.86 kB / 295.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.002228, allocations: 103.8 kB / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.00234, allocations: 103.7 kB / 296 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.178e-05/0.002432, allocations: 34.17 kB / 296.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.242e-05/0.002524, allocations: 71.88 kB / 296.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.002566, allocations: 27.91 kB / 296.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.002588, allocations: 8 kB / 296.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.002599, allocations: 8 kB / 296.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.002616, allocations: 15.94 kB / 296.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.002643, allocations: 19.94 kB / 296.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.307e-05/0.002736, allocations: 63.75 kB / 296.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.002748, allocations: 0 / 296.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.002749, allocations: 0 / 296.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.002761, allocations: 0 / 296.3 MB, free: 2.77 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.0004137/0.003174, allocations: 353.2 kB / 296.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.679e-05/0.003201, allocations: 8.031 kB / 296.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.003233, allocations: 12.92 kB / 296.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.003372, allocations: 144.1 kB / 296.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.00338, allocations: 384 / 296.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.003393, allocations: 12.38 kB / 296.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.003563, allocations: 183.3 kB / 297 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.00357, allocations: 4.188 kB / 297 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.003578, allocations: 4.375 kB / 297 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.003582, allocations: 384 / 297 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.122e-05/0.003623, allocations: 27.92 kB / 297 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.003924, allocations: 396.3 kB / 297.4 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.613e-05/0.004011, allocations: 58.47 kB / 297.5 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.004034, allocations: 24.78 kB / 297.5 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.004053, allocations: 8 kB / 297.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.00407, allocations: 30.56 kB / 297.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.004071, allocations: 0 / 297.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001116/0.004183, allocations: 65.66 kB / 297.6 MB, free: 1.332 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.004207, allocations: 51.41 kB / 297.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.197e-05/0.004269, allocations: 142.6 kB / 297.8 MB, free: 1.117 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.00428, allocations: 29.64 kB / 297.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.004319, allocations: 104.7 kB / 297.9 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.00433, allocations: 19.86 kB / 297.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.004361, allocations: 29.69 kB / 297.9 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.08e-05/0.004422, allocations: 326.8 kB / 298.3 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.004439, allocations: 8 kB / 298.3 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-05/0.004482, allocations: 91.69 kB / 298.4 MB, free: 480 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.091e-05/0.004523, allocations: 50.47 kB / 298.4 MB, free: 420 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004525, allocations: 0 / 298.4 MB, free: 420 kB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.332e-05/0.004588, allocations: 73.55 kB / 298.5 MB, free: 340 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.004598, allocations: 4 kB / 298.5 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.004602, allocations: 0 / 298.5 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.154e-06/0.004609, allocations: 96 / 298.5 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.494e-05/0.004684, allocations: 31.97 kB / 298.5 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.004686, allocations: 0 / 298.5 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.004733, allocations: 27.88 kB / 298.5 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.004737, allocations: 3.938 kB / 298.6 MB, free: 272 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 5.845e-05/0.004795, allocations: 118.7 kB / 298.7 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.004813, allocations: 15.92 kB / 298.7 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.004837, allocations: 8.781 kB / 298.7 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.004839, allocations: 4 kB / 298.7 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.00484, allocations: 4 kB / 298.7 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.004843, allocations: 0 / 298.7 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.854e-05/0.004941, allocations: 97.89 kB / 298.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.004942, allocations: 0 / 298.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.00498, allocations: 15.94 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.004988, allocations: 11.89 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.004989, allocations: 0 / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.004994, allocations: 3.984 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004995, allocations: 0 / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.004995, allocations: 0 / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.252e-05/0.005078, allocations: 163.4 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.005089, allocations: 11.94 kB / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.185e-05/0.005141, allocations: 11.98 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.005171, allocations: 11.98 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.005174, allocations: 4 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.864e-05/0.005193, allocations: 26.72 kB / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005193, allocations: 0 / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001233/0.005316, allocations: 27.89 kB / 299.1 MB, free: 15.7 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.442e-05/0.005371, allocations: 73.72 kB / 299.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.821e-05/0.005449, allocations: 48.78 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.005453, allocations: 0 / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-05/0.00548, allocations: 28.78 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.005627, allocations: 28.77 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.005991, allocations: 205 kB / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.421e-05/0.006025, allocations: 63.34 kB / 299.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.442e-05/0.006059, allocations: 16.7 kB / 299.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.92e-05/0.006139, allocations: 79.47 kB / 299.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.006139, allocations: 0 / 299.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of Templates: time 0.002655/0.008794, allocations: 1.692 MB / 301.3 MB, free: 13.44 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.723444557748735]