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.001785/0.001785, allocations: 85.67 kB / 20.68 MB, free: 1.035 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.002175/0.002175, allocations: 164.9 kB / 23.96 MB, free: 4.16 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.496/1.496, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.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.2184/0.2184, allocations: 34.27 MB / 295 MB, free: 14.58 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 1.493e-06/1.493e-06, allocations: 0 / 442.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.092e-05, allocations: 5.094 kB / 442.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.003079/0.00311, allocations: 1.712 MB / 444.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004685/0.003579, allocations: 159.4 kB / 444.5 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.583e-05/0.003654, allocations: 0 / 444.5 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.216e-05/0.003697, allocations: 7.875 kB / 444.5 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.907e-05/0.003756, allocations: 19.86 kB / 444.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.004133, allocations: 103.7 kB / 444.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.004319, allocations: 111.7 kB / 444.8 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.004451, allocations: 21.58 kB / 444.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.004586, allocations: 59.88 kB / 444.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.771e-05/0.004644, allocations: 27.91 kB / 444.9 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.004682, allocations: 12 kB / 444.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.987e-05/0.004702, allocations: 8 kB / 444.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.441e-05/0.004737, allocations: 19.91 kB / 444.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.004783, allocations: 31.91 kB / 444.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.004949, allocations: 95.69 kB / 445 MB, free: 3.031 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.004952, allocations: 3.938 kB / 445 MB, free: 3.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004952, allocations: 0 / 445 MB, free: 3.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.577e-06/0.004961, allocations: 0 / 445 MB, free: 3.027 MB / 366.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.0007906/0.005751, allocations: 376.2 kB / 445.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.00579, allocations: 8.031 kB / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.005841, allocations: 12.89 kB / 445.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.006103, allocations: 149.5 kB / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.006116, allocations: 8.375 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.006137, allocations: 8.375 kB / 445.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.00658, allocations: 197.9 kB / 445.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.00659, allocations: 192 / 445.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.006612, allocations: 4.375 kB / 445.8 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.006619, allocations: 4.375 kB / 445.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004107/0.00703, allocations: 115.8 kB / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006968/0.007726, allocations: 468.6 kB / 446.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004585/0.008185, allocations: 138.5 kB / 446.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.008407, allocations: 52.84 kB / 446.5 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.008427, allocations: 4 kB / 446.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.00846, allocations: 34.5 kB / 446.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.008462, allocations: 7.938 kB / 446.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007003/0.009162, allocations: 189.5 kB / 446.8 MB, free: 1.133 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.009233, allocations: 106.8 kB / 446.9 MB, free: 1.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.009374, allocations: 134.2 kB / 447 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.009396, allocations: 29.7 kB / 447 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.257e-05/0.009479, allocations: 112.1 kB / 447.2 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.0095, allocations: 15.86 kB / 447.2 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.009565, allocations: 29.7 kB / 447.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.009724, allocations: 322.8 kB / 447.5 MB, free: 344 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.00992, allocations: 47.95 kB / 447.6 MB, free: 296 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.01018, allocations: 143.6 kB / 447.7 MB, free: 124 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.01055, allocations: 110.5 kB / 447.8 MB, free: 4 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01055, allocations: 0 / 447.8 MB, free: 4 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.1995/0.21, allocations: 160.9 kB / 448 MB, free: 19.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.21, allocations: 5.391 kB / 448 MB, free: 19.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.21, allocations: 1.188 kB / 448 MB, free: 19.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.2101, allocations: 1.094 kB / 448 MB, free: 19.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.2102, allocations: 29.12 kB / 448 MB, free: 19.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2102, allocations: 7.5 kB / 448 MB, free: 19.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.2104, allocations: 27.81 kB / 448 MB, free: 19.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.2104, allocations: 7.344 kB / 448 MB, free: 19.22 MB / 366.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 7.912e-05/0.2105, allocations: 123.9 kB / 448.2 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.2105, allocations: 10.19 kB / 448.2 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.2106, allocations: 16.56 kB / 448.2 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2106, allocations: 1.312 kB / 448.2 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2106, allocations: 1.984 kB / 448.2 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2106, allocations: 1.922 kB / 448.2 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.2107, allocations: 141 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2107, allocations: 0 / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.2109, allocations: 21.16 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2109, allocations: 5.703 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.2109, allocations: 5.031 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.2109, allocations: 4.219 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2109, allocations: 1.188 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.2113, allocations: 236.1 kB / 448.6 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.2113, allocations: 13.92 kB / 448.6 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.2113, allocations: 7.797 kB / 448.6 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.2115, allocations: 23.58 kB / 448.6 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.2116, allocations: 10.17 kB / 448.7 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.2116, allocations: 2.312 kB / 448.7 MB, free: 18.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.075e-05/0.2116, allocations: 107 kB / 448.8 MB, free: 18.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2116, allocations: 0.6562 kB / 448.8 MB, free: 18.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.2119, allocations: 16.48 kB / 448.8 MB, free: 18.77 MB / 366.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 7.91e-05/0.2119, allocations: 102.5 kB / 448.9 MB, free: 18.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004632/0.2124, allocations: 109.1 kB / 449 MB, free: 18.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2124, allocations: 1.125 kB / 449 MB, free: 18.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.2126, allocations: 62.66 kB / 449 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.2129, allocations: 27.38 kB / 449.1 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.2134, allocations: 222.3 kB / 449.3 MB, free: 18.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.345e-05/0.2135, allocations: 85.5 kB / 449.4 MB, free: 18.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.211e-05/0.2136, allocations: 12.91 kB / 449.4 MB, free: 18.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.2136, allocations: 20.03 kB / 449.4 MB, free: 18.46 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2136, allocations: 0 / 449.4 MB, free: 18.46 MB / 366.1 MB Notification: Performance of Templates: time 0.00447/0.2181, allocations: 1.53 MB / 450.9 MB, free: 18.32 MB / 366.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] Reference file matches [Calling sys.exit(0), Time elapsed: 5.023789562284946]