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.001901/0.001901, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002073/0.002073, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.512/1.512, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3786/0.3786, allocations: 34.25 MB / 295.2 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 179] 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.793e-06/1.793e-06, allocations: 0 / 377.2 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.493e-05/3.672e-05, allocations: 7.797 kB / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.004447/0.004484, allocations: 1.702 MB / 378.9 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006202/0.005104, allocations: 151.4 kB / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.005211, allocations: 4 kB / 379.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.416e-05/0.005265, allocations: 7.875 kB / 379.1 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.719e-05/0.005362, allocations: 19.78 kB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.005835, allocations: 99.81 kB / 379.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.006136, allocations: 103.8 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.00629, allocations: 29.48 kB / 379.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.006457, allocations: 63.88 kB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.905e-05/0.006536, allocations: 27.91 kB / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.006576, allocations: 8 kB / 379.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.913e-05/0.006605, allocations: 8 kB / 379.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.006647, allocations: 23.91 kB / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.997e-05/0.006707, allocations: 23.92 kB / 379.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.006964, allocations: 107.6 kB / 379.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.006968, allocations: 0 / 379.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.006968, allocations: 0 / 379.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.006974, allocations: 0 / 379.6 MB, free: 0.5586 MB / 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.0009894/0.007963, allocations: 369.9 kB / 379.9 MB, free: 168 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.008009, allocations: 8.031 kB / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.513e-05/0.008094, allocations: 20.89 kB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.008457, allocations: 141.5 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.008473, allocations: 12.31 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.008501, allocations: 12.38 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.009077, allocations: 204.8 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.009088, allocations: 192 / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.009113, allocations: 4.359 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.009122, allocations: 4.375 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005417/0.009664, allocations: 115.8 kB / 380.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009782/0.01064, allocations: 472.6 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005975/0.01124, allocations: 138.4 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.0115, allocations: 56.83 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.01152, allocations: 0 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.01157, allocations: 38.56 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.01157, allocations: 0 / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009037/0.01247, allocations: 189.6 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.041e-05/0.01256, allocations: 106.8 kB / 381.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.01276, allocations: 145 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.0128, allocations: 29.7 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.01291, allocations: 108.1 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.01294, allocations: 23.8 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.01303, allocations: 29.7 kB / 381.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.01325, allocations: 322.8 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.01352, allocations: 55.95 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.01389, allocations: 135.6 kB / 382.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007519/0.01464, allocations: 114.7 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01464, allocations: 0 / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006617/0.0153, allocations: 161.5 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.01532, allocations: 8.062 kB / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01533, allocations: 4 kB / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.01534, allocations: 0 / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.01554, allocations: 27.97 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.01554, allocations: 0 / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.01576, allocations: 31.86 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.01578, allocations: 8 kB / 382.6 MB, free: 13.27 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 0.0001509/0.01593, allocations: 121.8 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.276e-05/0.016, allocations: 15.95 kB / 382.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/0.01604, allocations: 12.78 kB / 382.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.01605, allocations: 7.938 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01605, allocations: 0 / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01606, allocations: 0 / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.01634, allocations: 137.2 kB / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01634, allocations: 0 / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.0165, allocations: 23.97 kB / 382.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01651, allocations: 0 / 382.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.01653, allocations: 0 / 382.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.01653, allocations: 7.984 kB / 382.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01653, allocations: 0 / 382.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006725/0.0172, allocations: 243.3 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.01723, allocations: 15.88 kB / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.01726, allocations: 0 / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.01751, allocations: 27.97 kB / 383.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.01757, allocations: 11.98 kB / 383.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.01758, allocations: 0 / 383.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.0177, allocations: 107.2 kB / 383.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0177, allocations: 0 / 383.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004216/0.01812, allocations: 20 kB / 383.3 MB, free: 12.48 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 0.0001435/0.01827, allocations: 95.23 kB / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005838/0.01885, allocations: 111.8 kB / 383.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01885, allocations: 0 / 383.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.01913, allocations: 63.88 kB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.0196, allocations: 30.45 kB / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007317/0.02033, allocations: 224.3 kB / 383.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.02046, allocations: 85.44 kB / 383.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.084e-05/0.02055, allocations: 12.72 kB / 383.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.02061, allocations: 16.5 kB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02061, allocations: 0 / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of Templates: time 0.006073/0.02668, allocations: 1.55 MB / 385.5 MB, free: 10.27 MB / 362.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.939809523057193]