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.001652/0.001652, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.00161/0.00161, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9424/0.9424, allocations: 177.1 MB / 205 MB, free: 5.625 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.2599/0.2599, allocations: 34.25 MB / 295.7 MB, free: 0.6953 MB / 266.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.383e-06/1.383e-06, allocations: 0 / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.749e-05, allocations: 6.312 kB / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.001901/0.001918, allocations: 1.733 MB / 379.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003119/0.00223, allocations: 163.3 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.002289, allocations: 4 kB / 379.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.002316, allocations: 7.875 kB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.619e-05/0.002363, allocations: 11.81 kB / 379.9 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.00261, allocations: 107.8 kB / 380.1 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.002736, allocations: 103.8 kB / 380.2 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.002833, allocations: 29.48 kB / 380.2 MB, free: 480 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.144e-05/0.002904, allocations: 55.89 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.108e-05/0.002945, allocations: 31.89 kB / 380.3 MB, free: 392 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.00297, allocations: 8 kB / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.002982, allocations: 8 kB / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.003003, allocations: 23.91 kB / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.003032, allocations: 27.92 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.003133, allocations: 75.66 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003134, allocations: 4 kB / 380.4 MB, free: 244 kB / 346.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003135, allocations: 4 kB / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.003138, allocations: 0 / 380.4 MB, free: 240 kB / 346.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.0004219/0.00356, allocations: 448.2 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.003589, allocations: 12.03 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.003627, allocations: 16.83 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.003769, allocations: 152.4 kB / 381 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.003777, allocations: 8.359 kB / 381 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.003792, allocations: 12.38 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.003992, allocations: 200.7 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.003998, allocations: 192 / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.004009, allocations: 4.375 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.004015, allocations: 4.375 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.036e-05/0.004075, allocations: 35.84 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.004496, allocations: 0.5912 MB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.004612, allocations: 82.95 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.248e-05/0.004645, allocations: 15.72 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.004659, allocations: 4 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.004681, allocations: 37.39 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 8.12e-07/0.004682, allocations: 0 / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001585/0.00484, allocations: 89.56 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.004879, allocations: 110.8 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.525e-05/0.004964, allocations: 197 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.004975, allocations: 25.7 kB / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.005038, allocations: 158.9 kB / 382.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.005053, allocations: 27.77 kB / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.005092, allocations: 39.36 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.005219, allocations: 496.1 kB / 383.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.005246, allocations: 11.98 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.39e-05/0.00531, allocations: 113.8 kB / 383.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.77e-05/0.005367, allocations: 58.92 kB / 383.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.005368, allocations: 0 / 383.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.276e-05/0.005461, allocations: 81.64 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.005471, allocations: 8 kB / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.005475, allocations: 0 / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.005483, allocations: 0 / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.698e-05/0.00555, allocations: 19.98 kB / 383.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.005553, allocations: 0 / 383.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.494e-05/0.005608, allocations: 31.86 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.005614, allocations: 4 kB / 383.5 MB, free: 12.88 MB / 362.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.576e-05/0.00568, allocations: 164.5 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.0057, allocations: 15.92 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.005723, allocations: 16.78 kB / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.005724, allocations: 0 / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.005729, allocations: 7.984 kB / 383.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.005731, allocations: 0 / 383.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.005847, allocations: 152.5 kB / 383.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005847, allocations: 0 / 383.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.005881, allocations: 15.98 kB / 383.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.005882, allocations: 0 / 383.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.005889, allocations: 4 kB / 383.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.005889, allocations: 4 kB / 383.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.00589, allocations: 4 kB / 383.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.00602, allocations: 223.8 kB / 384.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.006028, allocations: 11.91 kB / 384.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.006044, allocations: 0 / 384.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.843e-05/0.006102, allocations: 19.98 kB / 384.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.006134, allocations: 7.984 kB / 384.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.006142, allocations: 7.984 kB / 384.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.654e-05/0.006188, allocations: 139.2 kB / 384.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006188, allocations: 4 kB / 384.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000143/0.006331, allocations: 16 kB / 384.3 MB, free: 12.02 MB / 362.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.88e-05/0.00639, allocations: 99.23 kB / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.006494, allocations: 51.59 kB / 384.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.006496, allocations: 0 / 384.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/0.006534, allocations: 39.59 kB / 384.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.006709, allocations: 30.23 kB / 384.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.006972, allocations: 197.9 kB / 384.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.892e-05/0.007011, allocations: 67.47 kB / 384.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.421e-05/0.007045, allocations: 16.7 kB / 384.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.007076, allocations: 16.5 kB / 384.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.007076, allocations: 0 / 384.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of Templates: time 0.002671/0.009747, allocations: 1.68 MB / 386.4 MB, free: 9.789 MB / 362.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: 3.021934029646218]