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.002762/0.002762, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003935/0.003935, allocations: 169.3 kB / 24.28 MB, free: 152 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.705/1.705, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3573/0.3573, allocations: 34.26 MB / 295.3 MB, free: 0.6953 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.323e-06/1.323e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.782e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003141/0.003169, allocations: 1.634 MB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.004339, allocations: 0.5608 MB / 379.5 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.111e-05/0.00442, allocations: 3.938 kB / 379.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.004551, allocations: 23.8 kB / 379.5 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.194e-05/0.004613, allocations: 7.875 kB / 379.5 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.004955, allocations: 95.67 kB / 379.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.005159, allocations: 119.7 kB / 379.7 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.005277, allocations: 23.97 kB / 379.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.005406, allocations: 59.89 kB / 379.8 MB, free: 444 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.005487, allocations: 31.88 kB / 379.8 MB, free: 412 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.005513, allocations: 8 kB / 379.8 MB, free: 404 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.782e-05/0.005541, allocations: 8 kB / 379.8 MB, free: 396 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.535e-05/0.005577, allocations: 19.92 kB / 379.9 MB, free: 376 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.005632, allocations: 27.91 kB / 379.9 MB, free: 348 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.005818, allocations: 99.62 kB / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.005821, allocations: 0 / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005822, allocations: 0 / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.005827, allocations: 4 kB / 380 MB, free: 244 kB / 346.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.0007576/0.006585, allocations: 439.6 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.006624, allocations: 8.031 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/0.006688, allocations: 20.84 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.006936, allocations: 146.7 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.006953, allocations: 8.375 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.006984, allocations: 16.31 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.007238, allocations: 90.2 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.007248, allocations: 192 / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.007268, allocations: 8.375 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.007274, allocations: 3.938 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.007425, allocations: 39.98 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000699/0.008124, allocations: 363.4 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.008444, allocations: 103 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.008546, allocations: 31.75 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.008563, allocations: 0 / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.00881, allocations: 96.97 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.008811, allocations: 0 / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004473/0.009258, allocations: 125.6 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.009321, allocations: 51.41 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.009541, allocations: 208.7 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.009567, allocations: 25.7 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.009693, allocations: 159 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.009732, allocations: 19.88 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.009797, allocations: 35.38 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004214/0.01022, allocations: 0.504 MB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.01032, allocations: 23.98 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.01045, allocations: 47.36 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.01063, allocations: 71.28 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01064, allocations: 0 / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000273/0.01091, allocations: 113.6 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.01093, allocations: 5.875 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01093, allocations: 0 / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.01095, allocations: 0 / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.01105, allocations: 15.98 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.01106, allocations: 0 / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.207e-05/0.01113, allocations: 15.95 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.01114, allocations: 0 / 382.7 MB, free: 13.27 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 0.0001527/0.01129, allocations: 180.5 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.01131, allocations: 7.953 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.01136, allocations: 16.78 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.01136, allocations: 0 / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.01137, allocations: 0 / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.01137, allocations: 0 / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/0.01191, allocations: 381.2 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.01192, allocations: 0 / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.906e-05/0.01198, allocations: 11.94 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.01199, allocations: 7.984 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.01201, allocations: 4 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01201, allocations: 0 / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01201, allocations: 0 / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/0.01247, allocations: 275.8 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.01249, allocations: 11.95 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.01252, allocations: 4.016 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.01262, allocations: 12 kB / 383.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.0127, allocations: 19.91 kB / 383.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.0127, allocations: 4 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.01281, allocations: 147.2 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01281, allocations: 0 / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002301/0.01304, allocations: 23.94 kB / 383.8 MB, free: 12.11 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 0.000133/0.01318, allocations: 95.19 kB / 383.9 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.01346, allocations: 79.66 kB / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01346, allocations: 0 / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.01361, allocations: 51.59 kB / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.01393, allocations: 19.92 kB / 384.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008375/0.01476, allocations: 258.1 kB / 384.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.01487, allocations: 81.45 kB / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.55e-05/0.01491, allocations: 8.719 kB / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.01496, allocations: 12.5 kB / 384.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01496, allocations: 0 / 384.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of Templates: time 0.004727/0.01969, allocations: 1.272 MB / 385.7 MB, free: 10.2 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.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.265383552992716]