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.001492/0.001492, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001612/0.001612, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 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 1.358/1.358, allocations: 230.6 MB / 258.3 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] 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.2054/0.2054, allocations: 46.94 MB / 361.6 MB, free: 4.324 MB / 286.1 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 0.001869/0.001869, allocations: 71.91 kB / 0.4974 GB, free: 7.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2937, allocations: 66.02 MB / 0.5619 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.002903/0.2966, allocations: 1.731 MB / 0.5636 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004054/0.297, allocations: 163.5 kB / 0.5637 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.562e-05/0.2971, allocations: 3.938 kB / 0.5637 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.2971, allocations: 7.875 kB / 0.5637 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.991e-05/0.2972, allocations: 15.86 kB / 0.5637 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.2975, allocations: 103.3 kB / 0.5638 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.2977, allocations: 103.7 kB / 0.5639 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2978, allocations: 37.55 kB / 0.564 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.612e-05/0.2979, allocations: 43.84 kB / 0.564 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.273e-05/0.298, allocations: 47.78 kB / 0.5641 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.298, allocations: 8 kB / 0.5641 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.76e-05/0.298, allocations: 8 kB / 0.5641 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.97e-05/0.298, allocations: 23.92 kB / 0.5641 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.2981, allocations: 43.78 kB / 0.5641 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.2982, allocations: 89.97 kB / 0.5642 GB, free: 2.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2982, allocations: 0 / 0.5642 GB, free: 2.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2982, allocations: 0 / 0.5642 GB, free: 2.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.2983, allocations: 0 / 0.5642 GB, free: 2.02 MB / 398.1 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.0006731/0.2989, allocations: 377.8 kB / 0.5646 GB, free: 1.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.299, allocations: 8.031 kB / 0.5646 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.299, allocations: 12.84 kB / 0.5646 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.2992, allocations: 144.8 kB / 0.5647 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.2992, allocations: 4.375 kB / 0.5647 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.2993, allocations: 12.38 kB / 0.5648 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.2996, allocations: 154.4 kB / 0.5649 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2996, allocations: 4.188 kB / 0.5649 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.2996, allocations: 3.938 kB / 0.5649 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2996, allocations: 0 / 0.5649 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003479/0.3, allocations: 115.8 kB / 0.565 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000664/0.3007, allocations: 0.5117 MB / 0.5655 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.301, allocations: 130.5 kB / 0.5656 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.3012, allocations: 60.8 kB / 0.5657 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.3012, allocations: 0 / 0.5657 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.3013, allocations: 34.56 kB / 0.5657 GB, free: 328 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.3013, allocations: 0 / 0.5657 GB, free: 328 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005829/0.3018, allocations: 189.5 kB / 0.5659 GB, free: 132 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/0.3019, allocations: 106.9 kB / 0.566 GB, free: 16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.302, allocations: 138.1 kB / 0.5662 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.3021, allocations: 29.7 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.3021, allocations: 104 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.3022, allocations: 27.94 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.3022, allocations: 29.7 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3024, allocations: 326.8 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.3025, allocations: 55.83 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.3027, allocations: 84.23 kB / 0.5668 GB, free: 15.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.303, allocations: 110.4 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.303, allocations: 4.031 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003791/0.3034, allocations: 153.5 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3034, allocations: 8 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3034, allocations: 0 / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3034, allocations: 0 / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.3036, allocations: 32.03 kB / 0.5671 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3036, allocations: 0 / 0.5671 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.3037, allocations: 39.8 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.3037, allocations: 11.92 kB / 0.5671 GB, free: 14.8 MB / 414.1 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 9.371e-05/0.3038, allocations: 113.8 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.3039, allocations: 7.953 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.3039, allocations: 20.72 kB / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3039, allocations: 0 / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3039, allocations: 0 / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3039, allocations: 3.938 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.3041, allocations: 172.7 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3041, allocations: 0 / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.3042, allocations: 31.97 kB / 0.5675 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3042, allocations: 0 / 0.5675 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3042, allocations: 0 / 0.5675 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3042, allocations: 0 / 0.5675 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3042, allocations: 4 kB / 0.5675 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.3047, allocations: 247.2 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.3047, allocations: 7.953 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3047, allocations: 4 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.3048, allocations: 31.95 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.3049, allocations: 7.984 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.3049, allocations: 7.938 kB / 0.5678 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.664e-05/0.305, allocations: 105.7 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.305, allocations: 0 / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.3052, allocations: 15.94 kB / 0.5679 GB, free: 13.96 MB / 414.1 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 9.188e-05/0.3053, allocations: 95.44 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003954/0.3057, allocations: 120.3 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3057, allocations: 7.875 kB / 0.5681 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.3059, allocations: 60.05 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.3061, allocations: 27.48 kB / 0.5682 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.3067, allocations: 239.7 kB / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.307, allocations: 0.7007 MB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.307, allocations: 15.44 kB / 0.5691 GB, free: 12.65 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.307, allocations: 0 / 0.5691 GB, free: 12.65 MB / 414.1 MB Notification: Performance of Templates: time 0.003102/0.3101, allocations: 1.418 MB / 0.5705 GB, free: 11.24 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ZeroThresholds/ZeroThresholds.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.9282277771271765]