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.001679/0.001679, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.002013/0.002013, allocations: 205.3 kB / 24.49 MB, free: 3.965 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.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2242/0.2242, allocations: 46.96 MB / 361.6 MB, free: 4.051 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.002037/0.002037, allocations: 59.91 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.294, allocations: 66.04 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.003095/0.2971, allocations: 1.691 MB / 0.5635 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004324/0.2976, allocations: 163.5 kB / 0.5636 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.962e-05/0.2976, allocations: 4 kB / 0.5636 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.725e-05/0.2977, allocations: 7.875 kB / 0.5636 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.256e-05/0.2977, allocations: 7.875 kB / 0.5636 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.2981, allocations: 103.8 kB / 0.5637 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.2983, allocations: 107.8 kB / 0.5638 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.2984, allocations: 29.56 kB / 0.5639 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.177e-05/0.2985, allocations: 43.86 kB / 0.5639 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.558e-05/0.2985, allocations: 47.81 kB / 0.564 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.2986, allocations: 8 kB / 0.564 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.811e-05/0.2986, allocations: 11.94 kB / 0.564 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.2986, allocations: 19.98 kB / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.2986, allocations: 31.8 kB / 0.564 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.2988, allocations: 97.91 kB / 0.5641 GB, free: 1.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2988, allocations: 4 kB / 0.5641 GB, free: 1.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2988, allocations: 0 / 0.5641 GB, free: 1.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2988, allocations: 0 / 0.5641 GB, free: 1.801 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.0006896/0.2995, allocations: 373.8 kB / 0.5645 GB, free: 1.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2995, allocations: 8.031 kB / 0.5645 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.2996, allocations: 16.84 kB / 0.5645 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.2998, allocations: 142.3 kB / 0.5646 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.2998, allocations: 8.375 kB / 0.5646 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.2998, allocations: 4.375 kB / 0.5647 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.3003, allocations: 212.5 kB / 0.5649 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3003, allocations: 192 / 0.5649 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.3003, allocations: 7.938 kB / 0.5649 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3003, allocations: 0 / 0.5649 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.3007, allocations: 103.8 kB / 0.565 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006542/0.3013, allocations: 496.5 kB / 0.5654 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.3017, allocations: 130.5 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.3019, allocations: 56.84 kB / 0.5656 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3019, allocations: 3.938 kB / 0.5656 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.3019, allocations: 38.5 kB / 0.5657 GB, free: 88 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.512e-06/0.3019, allocations: 0 / 0.5657 GB, free: 88 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000664/0.3026, allocations: 189.7 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.3027, allocations: 102.8 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.3028, allocations: 136.6 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.3028, allocations: 25.7 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.389e-05/0.3029, allocations: 112.1 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.3029, allocations: 19.77 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.303, allocations: 33.7 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3031, allocations: 322.8 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.3033, allocations: 51.95 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.3035, allocations: 143.6 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.3039, allocations: 110.5 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3039, allocations: 3.938 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004112/0.3043, allocations: 153.4 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3043, allocations: 8 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3043, allocations: 0 / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3043, allocations: 4.062 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.3045, allocations: 27.97 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3045, allocations: 0 / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.3046, allocations: 31.86 kB / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.3046, allocations: 4 kB / 0.5671 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.0001042/0.3047, allocations: 121.8 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.3048, allocations: 7.953 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.3048, allocations: 20.7 kB / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3048, allocations: 0 / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3048, allocations: 3.984 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.3049, allocations: 11.89 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.3049, allocations: 3.938 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.305, allocations: 27.97 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.3051, allocations: 7.984 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005138/0.3056, allocations: 236.8 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004834/0.3061, allocations: 311.1 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001906/0.3063, allocations: 60.02 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.288e-05/0.3064, allocations: 111.3 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of Backend: time 2.31e-07/0.3064, allocations: 0 / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005145/0.3069, allocations: 138.3 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006381/0.3075, allocations: 0.6333 MB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of Templates: time 0.004963/0.3125, allocations: 2.012 MB / 0.5707 GB, free: 10.79 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] "" 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: 4.814139304995479]