Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9105/0.9105, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1265/0.1265, allocations: 34.27 MB / 296.8 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Blocks.ZeroThresholds") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.007e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.001572/0.001592, allocations: 1.721 MB / 381 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002861/0.001878, allocations: 159.5 kB / 381.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.001935, allocations: 7.938 kB / 381.2 MB, free: 21.51 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.00196, allocations: 7.875 kB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.542e-05/0.002006, allocations: 11.86 kB / 381.2 MB, free: 21.49 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.002217, allocations: 107.7 kB / 381.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.002325, allocations: 107.7 kB / 381.4 MB, free: 21.28 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.604e-05/0.002411, allocations: 25.58 kB / 381.4 MB, free: 21.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.798e-05/0.002479, allocations: 63.88 kB / 381.5 MB, free: 21.19 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.002519, allocations: 23.91 kB / 381.5 MB, free: 21.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.002536, allocations: 8 kB / 381.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.002547, allocations: 8 kB / 381.5 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.002566, allocations: 27.91 kB / 381.5 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.002588, allocations: 23.92 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.564e-05/0.002673, allocations: 83.64 kB / 381.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.002675, allocations: 0 / 381.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002675, allocations: 4 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.002679, allocations: 0 / 381.7 MB, free: 21.02 MB / 314.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.0002936/0.002972, allocations: 444.2 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.291e-05/0.002995, allocations: 12.03 kB / 382.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.003023, allocations: 20.89 kB / 382.1 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.003128, allocations: 152.4 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-06/0.003135, allocations: 4.375 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.003147, allocations: 12.36 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.003284, allocations: 198.5 kB / 382.5 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.00329, allocations: 192 / 382.5 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.003298, allocations: 4.375 kB / 382.5 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.003301, allocations: 384 / 382.5 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.558e-05/0.003337, allocations: 34.94 kB / 382.5 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.003601, allocations: 0.5722 MB / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.224e-05/0.003683, allocations: 74.98 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.008e-05/0.003704, allocations: 19.67 kB / 383.2 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.003715, allocations: 7.984 kB / 383.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.003727, allocations: 37.33 kB / 383.2 MB, free: 19.28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 6.82e-07/0.003728, allocations: 0 / 383.2 MB, free: 19.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001163/0.003844, allocations: 73.64 kB / 383.3 MB, free: 19.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.003865, allocations: 110.8 kB / 383.4 MB, free: 19.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.906e-05/0.003914, allocations: 197.9 kB / 383.6 MB, free: 18.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.003921, allocations: 29.7 kB / 383.6 MB, free: 18.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.003956, allocations: 154.8 kB / 383.8 MB, free: 18.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.598e-06/0.003966, allocations: 23.8 kB / 383.8 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.003997, allocations: 39.34 kB / 383.8 MB, free: 18.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.767e-05/0.004035, allocations: 0.4923 MB / 384.3 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.004051, allocations: 8 kB / 384.3 MB, free: 18.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.00409, allocations: 113.8 kB / 384.5 MB, free: 17.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.687e-05/0.004127, allocations: 47.05 kB / 384.5 MB, free: 17.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.004129, allocations: 0 / 384.5 MB, free: 17.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.01e-05/0.004199, allocations: 85.45 kB / 384.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.004207, allocations: 4 kB / 384.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.004211, allocations: 0 / 384.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.642e-06/0.004217, allocations: 12.08 kB / 384.6 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.623e-05/0.004274, allocations: 15.98 kB / 384.6 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-06/0.004275, allocations: 0 / 384.6 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.004322, allocations: 15.98 kB / 384.6 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.004327, allocations: 8 kB / 384.6 MB, free: 17.73 MB / 314.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 4.406e-05/0.004371, allocations: 156.6 kB / 384.8 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.004397, allocations: 23.84 kB / 384.8 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.004416, allocations: 16.7 kB / 384.8 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.004417, allocations: 8 kB / 384.8 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.004418, allocations: 0 / 384.8 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.00442, allocations: 0 / 384.8 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.969e-05/0.0045, allocations: 121.2 kB / 385 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004501, allocations: 0 / 385 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/0.004533, allocations: 15.97 kB / 385 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.004534, allocations: 7.938 kB / 385 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.00454, allocations: 4 kB / 385 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.00454, allocations: 4 kB / 385 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.004541, allocations: 0 / 385 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.614e-05/0.004617, allocations: 211.9 kB / 385.2 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-06/0.004625, allocations: 19.88 kB / 385.2 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.004635, allocations: 7.875 kB / 385.2 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.614e-05/0.004691, allocations: 19.98 kB / 385.2 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.004717, allocations: 11.92 kB / 385.2 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.004721, allocations: 4 kB / 385.3 MB, free: 17.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.242e-05/0.004743, allocations: 146.2 kB / 385.4 MB, free: 16.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004743, allocations: 0 / 385.4 MB, free: 16.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001455/0.004889, allocations: 23.95 kB / 385.4 MB, free: 16.89 MB / 314.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 4.284e-05/0.004932, allocations: 95.25 kB / 385.5 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.134e-05/0.005013, allocations: 39.61 kB / 385.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.72e-07/0.005014, allocations: 0 / 385.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.666e-05/0.005041, allocations: 32.3 kB / 385.6 MB, free: 16.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.005221, allocations: 26.81 kB / 385.6 MB, free: 16.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.005445, allocations: 223.7 kB / 385.8 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.065e-05/0.005466, allocations: 63.2 kB / 385.9 MB, free: 16.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.305e-05/0.005499, allocations: 12.86 kB / 385.9 MB, free: 16.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.005573, allocations: 102.2 kB / 386 MB, free: 16.25 MB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.005574, allocations: 0 / 386 MB, free: 16.25 MB / 314.7 MB Notification: Performance of Templates: time 0.002483/0.008056, allocations: 1.727 MB / 387.7 MB, free: 14.54 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.7910859868861735]