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.001823/0.001823, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002629/0.002629, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2332/0.2332, allocations: 46.94 MB / 360.9 MB, free: 4.027 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.002151/0.002151, allocations: 67.89 kB / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3883, allocations: 66.04 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.0042/0.3925, allocations: 1.684 MB / 0.5627 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006141/0.3931, allocations: 163.5 kB / 0.5629 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.169e-05/0.3932, allocations: 11.88 kB / 0.5629 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.498e-05/0.3932, allocations: 11.88 kB / 0.5629 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.841e-05/0.3933, allocations: 7.875 kB / 0.5629 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.3938, allocations: 99.61 kB / 0.563 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.394, allocations: 111.7 kB / 0.5631 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.3942, allocations: 25.58 kB / 0.5631 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3943, allocations: 43.84 kB / 0.5632 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.3943, allocations: 35.84 kB / 0.5632 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.3944, allocations: 8 kB / 0.5632 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.876e-05/0.3944, allocations: 12 kB / 0.5632 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.3945, allocations: 27.91 kB / 0.5633 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.801e-05/0.3945, allocations: 31.8 kB / 0.5633 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.3947, allocations: 93.97 kB / 0.5634 GB, free: 1.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3947, allocations: 0 / 0.5634 GB, free: 1.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3947, allocations: 0 / 0.5634 GB, free: 1.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.3947, allocations: 0 / 0.5634 GB, free: 1.797 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.0008941/0.3956, allocations: 373.8 kB / 0.5637 GB, free: 1.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3957, allocations: 8.031 kB / 0.5637 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.303e-05/0.3957, allocations: 24.72 kB / 0.5638 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.396, allocations: 142.4 kB / 0.5639 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3961, allocations: 4.375 kB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.3961, allocations: 8.375 kB / 0.5639 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.3966, allocations: 208.6 kB / 0.5641 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.3966, allocations: 4.188 kB / 0.5641 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.3966, allocations: 11.92 kB / 0.5641 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.3966, allocations: 4 kB / 0.5641 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.3971, allocations: 110.6 kB / 0.5642 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008416/0.398, allocations: 472.6 kB / 0.5647 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005565/0.3985, allocations: 142.4 kB / 0.5648 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.3987, allocations: 52.81 kB / 0.5649 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.3988, allocations: 4 kB / 0.5649 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.3988, allocations: 34.56 kB / 0.5649 GB, free: 84 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.934e-06/0.3988, allocations: 0 / 0.5649 GB, free: 84 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008754/0.3997, allocations: 185.6 kB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.804e-05/0.3998, allocations: 110.8 kB / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.4, allocations: 134.2 kB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.4, allocations: 29.7 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.4001, allocations: 108.1 kB / 0.5654 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.4001, allocations: 19.86 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.832e-05/0.4002, allocations: 29.7 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.4004, allocations: 326.8 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.4006, allocations: 43.95 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/0.401, allocations: 143.6 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.4014, allocations: 114.3 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4014, allocations: 0 / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005955/0.402, allocations: 153.5 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.4021, allocations: 11.94 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4021, allocations: 0 / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.4021, allocations: 0 / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.4023, allocations: 28.03 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4023, allocations: 4 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.4025, allocations: 39.8 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.4025, allocations: 4 kB / 0.5663 GB, free: 14.52 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.0001683/0.4027, allocations: 118 kB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.4028, allocations: 7.953 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.131e-05/0.4028, allocations: 24.64 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4028, allocations: 0 / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4029, allocations: 0 / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4029, allocations: 4 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.4032, allocations: 141.2 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4032, allocations: 0 / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.4033, allocations: 23.97 kB / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4033, allocations: 0 / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.4033, allocations: 0 / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.4033, allocations: 4 kB / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4033, allocations: 0 / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.4039, allocations: 251.6 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.404, allocations: 7.953 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.404, allocations: 0 / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.4042, allocations: 27.97 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.4043, allocations: 7.984 kB / 0.5669 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.4043, allocations: 3.984 kB / 0.5669 GB, free: 13.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.6e-05/0.4044, allocations: 109.7 kB / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4044, allocations: 0 / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.4047, allocations: 23.94 kB / 0.567 GB, free: 13.72 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.0001379/0.4049, allocations: 91.25 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005632/0.4054, allocations: 123.8 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4054, allocations: 4.125 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.4057, allocations: 55.89 kB / 0.5673 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.4061, allocations: 24.8 kB / 0.5673 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006732/0.4068, allocations: 218 kB / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.4069, allocations: 93.25 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.052e-05/0.407, allocations: 8.656 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.407, allocations: 15.44 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of SimCode: time 4.9e-07/0.407, allocations: 0 / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of Templates: time 0.006389/0.4134, allocations: 1.586 MB / 0.5692 GB, free: 11.48 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.298585165292025]