Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.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.001205/0.001205, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.0009026/0.0009026, allocations: 161 kB / 24.56 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.006/1.006, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.2618/0.2618, allocations: 34.26 MB / 295.7 MB, free: 0.7656 MB / 266.7 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.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.752e-05, allocations: 5.828 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002084/0.002101, allocations: 1.669 MB / 379.7 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007828/0.002884, allocations: 0.5724 MB / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.818e-05/0.002972, allocations: 0 / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.003091, allocations: 15.86 kB / 380.3 MB, free: 408 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.562e-05/0.003137, allocations: 19.8 kB / 380.3 MB, free: 388 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.003427, allocations: 87.75 kB / 380.4 MB, free: 300 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.003557, allocations: 111.7 kB / 380.5 MB, free: 188 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.003662, allocations: 27.91 kB / 380.5 MB, free: 160 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.111e-05/0.003743, allocations: 55.89 kB / 380.6 MB, free: 104 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.709e-05/0.0038, allocations: 35.89 kB / 380.6 MB, free: 68 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.00382, allocations: 11.94 kB / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.003832, allocations: 8 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.003855, allocations: 19.92 kB / 380.7 MB, free: 28 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.00389, allocations: 27.91 kB / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.004029, allocations: 63.8 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.00403, allocations: 0 / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004031, allocations: 4 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.004034, allocations: 0 / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004523/0.004487, allocations: 447.9 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.004519, allocations: 8.031 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.004561, allocations: 12.89 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.004718, allocations: 152.4 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.004738, allocations: 4.375 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.004767, allocations: 16.33 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.004923, allocations: 86.92 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.00493, allocations: 4.188 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.004942, allocations: 4.359 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.004951, allocations: 11.88 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.716e-05/0.004998, allocations: 27.91 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.005395, allocations: 343.5 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.005507, allocations: 66.97 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.62e-05/0.005533, allocations: 15.72 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.005544, allocations: 4 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/0.005645, allocations: 73.08 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/0.005647, allocations: 0 / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001732/0.00582, allocations: 89.55 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.005849, allocations: 51.41 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/0.005943, allocations: 197.1 kB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.005955, allocations: 25.7 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.006011, allocations: 155.1 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.006029, allocations: 19.91 kB / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.006064, allocations: 35.36 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.006174, allocations: 0.4961 MB / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.006197, allocations: 8 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-05/0.006232, allocations: 35.36 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/0.006279, allocations: 39.31 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006281, allocations: 0 / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.003e-05/0.006371, allocations: 77.58 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.006385, allocations: 12.03 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.00639, allocations: 0 / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.006403, allocations: 0 / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.392e-05/0.006477, allocations: 19.92 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.006482, allocations: 0 / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/0.006516, allocations: 19.94 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.006523, allocations: 4 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,change.u,$PRE.change.u,$whenCondition2) * 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 6.907e-05/0.006592, allocations: 164.5 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.006606, allocations: 11.95 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.006634, allocations: 16.78 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006636, allocations: 0 / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.006639, allocations: 0 / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.006644, allocations: 7.922 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.006875, allocations: 341.3 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.006876, allocations: 0 / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.843e-05/0.006915, allocations: 7.984 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.006916, allocations: 0 / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.006927, allocations: 8 kB / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.006927, allocations: 0 / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.006928, allocations: 4 kB / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.00708, allocations: 235.8 kB / 384 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.007089, allocations: 7.953 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.007102, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.954e-05/0.007151, allocations: 11.98 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.007198, allocations: 19.91 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.007203, allocations: 4 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.56e-05/0.007249, allocations: 139.2 kB / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007249, allocations: 0 / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000148/0.007397, allocations: 19.95 kB / 384.2 MB, free: 12.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (integrator.reset,$whenCondition2,$whenCondition1,change.u,booleanPulse.pulseStart) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 5.85e-05/0.007456, allocations: 95.28 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.873e-05/0.007554, allocations: 51.59 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.007555, allocations: 0 / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.877e-05/0.007594, allocations: 27.69 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.007791, allocations: 17.86 kB / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.008227, allocations: 262 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.385e-05/0.008261, allocations: 63.34 kB / 384.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.823e-05/0.008289, allocations: 8.719 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.008322, allocations: 12.5 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008323, allocations: 0 / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of Templates: time 0.002541/0.01086, allocations: 1.263 MB / 386 MB, free: 10.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1653642170131207]