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.002082/0.002082, allocations: 83.67 kB / 20.96 MB, free: 3.32 MB / 18.57 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.002379/0.002379, allocations: 161.3 kB / 24.27 MB, free: 12 kB / 18.57 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.813/1.813, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.4588/0.4588, allocations: 34.26 MB / 295.3 MB, free: 0.6523 MB / 266.7 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 1.643e-06/1.643e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.123e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.003698/0.003729, allocations: 1.71 MB / 379 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005624/0.004292, allocations: 151.5 kB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.004408, allocations: 7.938 kB / 379.1 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.711e-05/0.004455, allocations: 11.86 kB / 379.2 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.106e-05/0.004546, allocations: 11.81 kB / 379.2 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.005007, allocations: 99.8 kB / 379.3 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.00525, allocations: 111.7 kB / 379.4 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.005418, allocations: 25.58 kB / 379.4 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.005568, allocations: 59.88 kB / 379.5 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.926e-05/0.005647, allocations: 31.91 kB / 379.5 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.005687, allocations: 8 kB / 379.5 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.414e-05/0.005711, allocations: 8 kB / 379.5 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.183e-05/0.005753, allocations: 23.91 kB / 379.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.005809, allocations: 27.92 kB / 379.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.006031, allocations: 95.67 kB / 379.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.006038, allocations: 4 kB / 379.7 MB, free: 0.582 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.006038, allocations: 0 / 379.7 MB, free: 0.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.006044, allocations: 0 / 379.7 MB, free: 0.582 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.0008528/0.006897, allocations: 459.8 kB / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.006939, allocations: 8.031 kB / 380.1 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.719e-05/0.007016, allocations: 16.89 kB / 380.1 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.007315, allocations: 150.4 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.007331, allocations: 4.375 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.007354, allocations: 8.375 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.00778, allocations: 211.9 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.007791, allocations: 192 / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.007809, allocations: 8.375 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.007814, allocations: 384 / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.008122, allocations: 87.81 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000874/0.008996, allocations: 0.6184 MB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.009378, allocations: 115 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.009528, allocations: 47.69 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.009558, allocations: 4 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.009599, allocations: 33.39 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.0096, allocations: 0 / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005867/0.01019, allocations: 161.8 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.94e-05/0.01029, allocations: 106.8 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.01051, allocations: 208.4 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.01054, allocations: 33.7 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.01069, allocations: 154.8 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.01072, allocations: 23.8 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-05/0.0108, allocations: 39.36 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003227/0.01113, allocations: 0.4923 MB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.01127, allocations: 39.97 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.01152, allocations: 145.8 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.01179, allocations: 95.02 kB / 382.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.0118, allocations: 0 / 382.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003756/0.01217, allocations: 137.6 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.01219, allocations: 8 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.01219, allocations: 0 / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.01221, allocations: 4 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.01235, allocations: 19.92 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.01236, allocations: 4 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.01248, allocations: 19.94 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.01249, allocations: 4 kB / 383.1 MB, free: 12.86 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.0001595/0.01265, allocations: 172.5 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.01269, allocations: 11.95 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.443e-05/0.01274, allocations: 16.78 kB / 383.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.01274, allocations: 0 / 383.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01275, allocations: 0 / 383.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.01275, allocations: 7.938 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.01299, allocations: 152.5 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.01299, allocations: 3.984 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-05/0.01309, allocations: 23.92 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.01309, allocations: 0 / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.01311, allocations: 4 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01311, allocations: 4 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01311, allocations: 0 / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.01354, allocations: 263.8 kB / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.01356, allocations: 15.89 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.01358, allocations: 0 / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.01371, allocations: 15.98 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.01377, allocations: 11.98 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.01378, allocations: 3.984 kB / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001219/0.0139, allocations: 155.1 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0139, allocations: 3.938 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.01414, allocations: 20 kB / 383.9 MB, free: 11.93 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.0001298/0.01427, allocations: 91.25 kB / 384 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003667/0.01464, allocations: 103.5 kB / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01464, allocations: 0 / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.0148, allocations: 59.78 kB / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.01514, allocations: 41.27 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.01571, allocations: 217.9 kB / 384.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.01582, allocations: 85.44 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.331e-05/0.01589, allocations: 9.188 kB / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.01594, allocations: 20.5 kB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01594, allocations: 0 / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of Templates: time 0.005178/0.02112, allocations: 1.549 MB / 386.1 MB, free: 9.719 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1) [Timeout 240] 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] Reference file matches [Calling sys.exit(0), Time elapsed: 5.584756397991441]