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.001636/0.001636, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001756/0.001756, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.581/1.581, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.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.2598/0.2598, allocations: 46.93 MB / 360.8 MB, free: 4.293 MB / 286.1 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.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 0.00251/0.00251, allocations: 71.88 kB / 0.4966 GB, free: 7.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4099, allocations: 66.04 MB / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003472/0.4133, allocations: 1.655 MB / 0.5627 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.4145, allocations: 0.597 MB / 0.5633 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.563e-05/0.4145, allocations: 0 / 0.5633 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.4147, allocations: 15.86 kB / 0.5633 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.035e-05/0.4147, allocations: 15.88 kB / 0.5633 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.4151, allocations: 87.75 kB / 0.5634 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.4153, allocations: 115.7 kB / 0.5635 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.4154, allocations: 30.58 kB / 0.5636 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.962e-05/0.4155, allocations: 47.86 kB / 0.5636 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.82e-05/0.4156, allocations: 35.83 kB / 0.5637 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.4156, allocations: 8 kB / 0.5637 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.737e-05/0.4156, allocations: 8 kB / 0.5637 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.4157, allocations: 31.91 kB / 0.5637 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.4157, allocations: 39.73 kB / 0.5637 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.4159, allocations: 87.3 kB / 0.5638 GB, free: 1.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4159, allocations: 0 / 0.5638 GB, free: 1.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.077e-06/0.4159, allocations: 0 / 0.5638 GB, free: 1.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.4159, allocations: 0 / 0.5638 GB, free: 1.66 MB / 398.1 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.0007095/0.4166, allocations: 346.8 kB / 0.5642 GB, free: 1.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.4167, allocations: 12.03 kB / 0.5642 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.4167, allocations: 12.89 kB / 0.5642 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.417, allocations: 152.9 kB / 0.5643 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.417, allocations: 12.38 kB / 0.5643 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.4171, allocations: 8.375 kB / 0.5643 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.4173, allocations: 105.8 kB / 0.5644 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4174, allocations: 4 kB / 0.5644 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.4174, allocations: 8 kB / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4174, allocations: 0 / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.4175, allocations: 43.97 kB / 0.5645 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000759/0.4183, allocations: 367.6 kB / 0.5648 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.4186, allocations: 98.52 kB / 0.5649 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.4188, allocations: 36.91 kB / 0.565 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.4188, allocations: 0 / 0.565 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002734/0.4191, allocations: 103.3 kB / 0.5651 GB, free: 256 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.4191, allocations: 7.938 kB / 0.5651 GB, free: 248 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004965/0.4196, allocations: 137.8 kB / 0.5652 GB, free: 104 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.4196, allocations: 59.34 kB / 0.5653 GB, free: 32 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.4198, allocations: 155.2 kB / 0.5654 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.4198, allocations: 29.7 kB / 0.5654 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.4199, allocations: 96.09 kB / 0.5655 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.42, allocations: 27.83 kB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.42, allocations: 25.72 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4202, allocations: 322.8 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.4203, allocations: 35.91 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.4205, allocations: 57.69 kB / 0.566 GB, free: 15.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.4207, allocations: 69.69 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4207, allocations: 4 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003086/0.421, allocations: 121.5 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.421, allocations: 7.938 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.421, allocations: 0 / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.421, allocations: 0 / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.4211, allocations: 24.02 kB / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.4212, allocations: 4 kB / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.55e-05/0.4213, allocations: 16.06 kB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.4213, allocations: 4 kB / 0.5662 GB, free: 15 MB / 414.1 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.0001117/0.4214, allocations: 113.8 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.4214, allocations: 15.84 kB / 0.5663 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.4214, allocations: 17 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4214, allocations: 4 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.4215, allocations: 3.984 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4215, allocations: 3.938 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005741/0.422, allocations: 357.5 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.422, allocations: 0 / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.4221, allocations: 15.98 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4221, allocations: 4 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4222, allocations: 0 / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4222, allocations: 0 / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4222, allocations: 4 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.4227, allocations: 259.2 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.4227, allocations: 15.94 kB / 0.567 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.4227, allocations: 3.984 kB / 0.567 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.4229, allocations: 15.98 kB / 0.567 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.4229, allocations: 15.97 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.4229, allocations: 64 / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.196e-05/0.423, allocations: 113.7 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.423, allocations: 0 / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.4233, allocations: 19.98 kB / 0.5672 GB, free: 13.96 MB / 414.1 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.0001278/0.4234, allocations: 95.25 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003541/0.4238, allocations: 87.83 kB / 0.5673 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4238, allocations: 0 / 0.5673 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.4239, allocations: 43.91 kB / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.4243, allocations: 15.98 kB / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.4253, allocations: 266.5 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.4257, allocations: 0.7001 MB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.78e-05/0.4257, allocations: 12.48 kB / 0.5683 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.4258, allocations: 15.44 kB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4258, allocations: 0 / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of Templates: time 0.004422/0.4302, allocations: 1.281 MB / 0.5696 GB, free: 11.41 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] 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.538135855924338]