Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001409/0.001409, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001403/0.001403, allocations: 169 kB / 24.25 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.027/1.027, allocations: 158.6 MB / 186 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1628/0.1628, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 347.6 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.584e-05, allocations: 2.312 kB / 347.7 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.001962/0.001988, allocations: 1.661 MB / 349.3 MB, free: 8.129 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007264/0.002714, allocations: 0.5852 MB / 349.9 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.002804, allocations: 3.938 kB / 349.9 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.002922, allocations: 7.875 kB / 349.9 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.388e-05/0.002966, allocations: 15.86 kB / 349.9 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.003234, allocations: 87.7 kB / 350 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.003379, allocations: 119.7 kB / 350.1 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.003502, allocations: 19.89 kB / 350.1 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.647e-05/0.003588, allocations: 71.8 kB / 350.2 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.02e-05/0.003649, allocations: 27.91 kB / 350.2 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.003674, allocations: 8 kB / 350.3 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.003688, allocations: 8 kB / 350.3 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.841e-05/0.003716, allocations: 27.91 kB / 350.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.003759, allocations: 23.92 kB / 350.3 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.003888, allocations: 71.72 kB / 350.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00389, allocations: 4 kB / 350.4 MB, free: 7.047 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.003891, allocations: 0 / 350.4 MB, free: 7.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.003896, allocations: 0 / 350.4 MB, free: 7.047 MB / 282.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.0004486/0.004345, allocations: 447.8 kB / 350.8 MB, free: 6.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.004378, allocations: 8.031 kB / 350.8 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.004422, allocations: 12.89 kB / 350.8 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.004581, allocations: 156.5 kB / 351 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.004601, allocations: 384 / 351 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.004622, allocations: 16.33 kB / 351 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.00477, allocations: 90.86 kB / 351.1 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.004778, allocations: 4.188 kB / 351.1 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.004789, allocations: 384 / 351.1 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.004798, allocations: 7.938 kB / 351.1 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.004843, allocations: 23.98 kB / 351.1 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.005216, allocations: 343.5 kB / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.747e-05/0.005313, allocations: 62.97 kB / 351.5 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.344e-05/0.005337, allocations: 19.7 kB / 351.6 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.005346, allocations: 4 kB / 351.6 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.859e-05/0.005444, allocations: 77.02 kB / 351.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.005445, allocations: 0 / 351.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.000201/0.005646, allocations: 85.61 kB / 351.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.005672, allocations: 51.41 kB / 351.8 MB, free: 5.508 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.005739, allocations: 196.8 kB / 352 MB, free: 5.301 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.005747, allocations: 25.7 kB / 352 MB, free: 5.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.005783, allocations: 155.1 kB / 352.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.005801, allocations: 15.91 kB / 352.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.005832, allocations: 35.36 kB / 352.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.005884, allocations: 0.4922 MB / 352.7 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.005908, allocations: 11.98 kB / 352.7 MB, free: 4.539 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.249e-05/0.005941, allocations: 39.3 kB / 352.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.42e-05/0.005985, allocations: 35.38 kB / 352.8 MB, free: 4.449 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.005988, allocations: 0 / 352.8 MB, free: 4.449 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.9e-05/0.006067, allocations: 81.7 kB / 352.8 MB, free: 4.363 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.006079, allocations: 12.03 kB / 352.9 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.006084, allocations: 0 / 352.9 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.006099, allocations: 0 / 352.9 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.006175, allocations: 15.98 kB / 352.9 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.00618, allocations: 0 / 352.9 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.352e-05/0.006214, allocations: 15.94 kB / 352.9 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.006219, allocations: 0 / 352.9 MB, free: 4.32 MB / 282.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 5.249e-05/0.006271, allocations: 164.5 kB / 353 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.006284, allocations: 15.95 kB / 353.1 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.006308, allocations: 12.78 kB / 353.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.00631, allocations: 0 / 353.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.006313, allocations: 0 / 353.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.006318, allocations: 4 kB / 353.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.006521, allocations: 349.6 kB / 353.4 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.006522, allocations: 0 / 353.4 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-05/0.006565, allocations: 7.938 kB / 353.4 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.006567, allocations: 7.984 kB / 353.4 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.006577, allocations: 4 kB / 353.4 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.006578, allocations: 0 / 353.4 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006579, allocations: 4 kB / 353.4 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.006704, allocations: 243.8 kB / 353.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-06/0.006713, allocations: 7.953 kB / 353.7 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.006727, allocations: 4 kB / 353.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.755e-05/0.006774, allocations: 7.984 kB / 353.7 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.006824, allocations: 19.91 kB / 353.7 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.00683, allocations: 4 kB / 353.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.827e-05/0.006858, allocations: 139.2 kB / 353.9 MB, free: 3.277 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006858, allocations: 0 / 353.9 MB, free: 3.277 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001424/0.007001, allocations: 23.95 kB / 353.9 MB, free: 3.254 MB / 282.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 6.263e-05/0.007064, allocations: 95.28 kB / 354 MB, free: 3.148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.007167, allocations: 51.62 kB / 354 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007168, allocations: 0 / 354 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/0.007207, allocations: 31.62 kB / 354.1 MB, free: 3.059 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.00742, allocations: 19.92 kB / 354.1 MB, free: 3.039 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.007758, allocations: 225.2 kB / 354.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.656e-05/0.007784, allocations: 63.34 kB / 354.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.666e-05/0.007811, allocations: 4.734 kB / 354.4 MB, free: 2.707 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.007841, allocations: 16.5 kB / 354.4 MB, free: 2.688 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.007842, allocations: 0 / 354.4 MB, free: 2.688 MB / 282.7 MB Notification: Performance of Templates: time 0.002666/0.01051, allocations: 1.294 MB / 355.7 MB, free: 1.414 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.3901321419980377]