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.001353/0.001353, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002546/0.002546, allocations: 208.2 kB / 23.73 MB, free: 4.523 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.637/1.637, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2462/0.2462, allocations: 46.95 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] 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.002056/0.002056, allocations: 63.91 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3977, allocations: 66.03 MB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.003351/0.401, allocations: 1.699 MB / 0.5627 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004621/0.4015, allocations: 159.5 kB / 0.5629 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.767e-05/0.4016, allocations: 4 kB / 0.5629 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.57e-05/0.4016, allocations: 11.86 kB / 0.5629 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.4017, allocations: 7.875 kB / 0.5629 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.4021, allocations: 103.3 kB / 0.563 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.4022, allocations: 107.7 kB / 0.5631 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.4024, allocations: 29.58 kB / 0.5631 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.832e-05/0.4025, allocations: 43.86 kB / 0.5632 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.232e-05/0.4026, allocations: 43.77 kB / 0.5632 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.4026, allocations: 12 kB / 0.5632 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.746e-05/0.4026, allocations: 8 kB / 0.5632 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.4026, allocations: 23.92 kB / 0.5633 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.4027, allocations: 31.8 kB / 0.5633 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.4029, allocations: 97.95 kB / 0.5634 GB, free: 1.812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.4029, allocations: 4 kB / 0.5634 GB, free: 1.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4029, allocations: 0 / 0.5634 GB, free: 1.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.4029, allocations: 0 / 0.5634 GB, free: 1.809 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.0007663/0.4036, allocations: 365.8 kB / 0.5637 GB, free: 1.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.4037, allocations: 16.02 kB / 0.5637 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.508e-05/0.4037, allocations: 16.84 kB / 0.5638 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.404, allocations: 146.3 kB / 0.5639 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.4041, allocations: 8.375 kB / 0.5639 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.4041, allocations: 4.375 kB / 0.5639 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/0.4045, allocations: 204.7 kB / 0.5641 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4045, allocations: 4.188 kB / 0.5641 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.4046, allocations: 7.938 kB / 0.5641 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.4046, allocations: 0 / 0.5641 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.4049, allocations: 107.8 kB / 0.5642 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006869/0.4056, allocations: 492.5 kB / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.406, allocations: 126.5 kB / 0.5648 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.4062, allocations: 60.84 kB / 0.5649 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.4062, allocations: 3.984 kB / 0.5649 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.4063, allocations: 38.5 kB / 0.5649 GB, free: 96 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.4063, allocations: 0 / 0.5649 GB, free: 96 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006611/0.4069, allocations: 189.7 kB / 0.5651 GB, free: 15.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.407, allocations: 102.8 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.4071, allocations: 138.1 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.4072, allocations: 25.7 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.4072, allocations: 116.1 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.4073, allocations: 15.92 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.4073, allocations: 33.7 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4075, allocations: 322.8 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.4076, allocations: 51.95 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.4079, allocations: 143.6 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.4082, allocations: 110.6 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4082, allocations: 0 / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004139/0.4086, allocations: 157.4 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4087, allocations: 4 kB / 0.5663 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.4087, allocations: 0 / 0.5663 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4087, allocations: 0 / 0.5663 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.4088, allocations: 32.03 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4088, allocations: 0 / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.409, allocations: 35.86 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.409, allocations: 4 kB / 0.5663 GB, free: 14.53 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 0.0001198/0.4091, allocations: 125.8 kB / 0.5664 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.4092, allocations: 11.95 kB / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.4092, allocations: 12.66 kB / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4092, allocations: 8 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4092, allocations: 0 / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4092, allocations: 3.938 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.4094, allocations: 141.2 kB / 0.5666 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4094, allocations: 0 / 0.5666 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.4095, allocations: 23.97 kB / 0.5666 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4095, allocations: 0 / 0.5666 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.4095, allocations: 7.984 kB / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4095, allocations: 0 / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4095, allocations: 0 / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.41, allocations: 239.3 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.41, allocations: 11.94 kB / 0.5669 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.41, allocations: 4.188 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.4102, allocations: 23.97 kB / 0.5669 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.4102, allocations: 15.86 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.4102, allocations: 8 kB / 0.5669 GB, free: 13.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.688e-05/0.4103, allocations: 101.7 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4103, allocations: 0 / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000241/0.4106, allocations: 19.94 kB / 0.5671 GB, free: 13.73 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 0.0001049/0.4107, allocations: 99.23 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004244/0.4111, allocations: 119.9 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4111, allocations: 0 / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.4113, allocations: 59.94 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.4116, allocations: 12 kB / 0.5673 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005852/0.4122, allocations: 221.9 kB / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.007e-05/0.4123, allocations: 85.33 kB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.54e-05/0.4123, allocations: 13.12 kB / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.4124, allocations: 15.38 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.4124, allocations: 0 / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of Templates: time 0.0046/0.417, allocations: 1.62 MB / 0.5692 GB, free: 11.46 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/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_4.1.0_ModelicaTest.Blocks.ZeroThresholds.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,ramp.y,greaterThreshold.y,greaterEqualThreshold.y,lessThreshold.y,lessEqualThreshold.y Variables in the result:gain.k,greaterEqualThreshold.threshold,greaterEqualThreshold.y,greaterThreshold.threshold,greaterThreshold.y,lessEqualThreshold.threshold,lessEqualThreshold.y,lessThreshold.threshold,lessThreshold.y,limiterMaxZero.homotopyType,limiterMaxZero.strict,limiterMaxZero.uMax,limiterMaxZero.uMin,limiterMinZero.homotopyType,limiterMinZero.strict,limiterMinZero.uMax,limiterMinZero.uMin,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,time [Calling sys.exit(0), Time elapsed: 5.434777178335935]