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.001079/0.001079, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001407/0.001407, allocations: 173 kB / 24.06 MB, free: 456 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.143/1.143, allocations: 158.6 MB / 185.9 MB, free: 2.797 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.37 MB / 270.7 MB, free: 14.54 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 2.374e-06/2.374e-06, allocations: 0 / 348.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.094e-05, allocations: 2.312 kB / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002398/0.002429, allocations: 1.647 MB / 349.8 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.003503, allocations: 0.5851 MB / 350.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.003632, allocations: 0 / 350.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.003783, allocations: 15.8 kB / 350.4 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.365e-05/0.003836, allocations: 15.88 kB / 350.4 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.004179, allocations: 91.69 kB / 350.5 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.004343, allocations: 119.7 kB / 350.6 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.004474, allocations: 23.89 kB / 350.6 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.004576, allocations: 59.88 kB / 350.7 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.004636, allocations: 35.89 kB / 350.7 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.004658, allocations: 8 kB / 350.7 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.004672, allocations: 8 kB / 350.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.788e-05/0.004699, allocations: 19.91 kB / 350.7 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.004732, allocations: 27.92 kB / 350.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.004874, allocations: 75.66 kB / 350.8 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.004884, allocations: 0 / 350.8 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.004886, allocations: 4 kB / 350.8 MB, free: 6.445 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.004892, allocations: 0 / 350.8 MB, free: 6.445 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.0005017/0.005394, allocations: 439.9 kB / 351.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.005444, allocations: 19.97 kB / 351.3 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.005491, allocations: 12.89 kB / 351.3 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.005658, allocations: 150.7 kB / 351.4 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.005681, allocations: 8.375 kB / 351.4 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.005703, allocations: 16.33 kB / 351.5 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.005867, allocations: 86.91 kB / 351.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.005874, allocations: 192 / 351.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.005884, allocations: 4.359 kB / 351.6 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.005892, allocations: 7.938 kB / 351.6 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.275e-05/0.005925, allocations: 19.98 kB / 351.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.006259, allocations: 320.1 kB / 351.9 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.404e-05/0.006343, allocations: 55.03 kB / 351.9 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.00636, allocations: 19.66 kB / 352 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.006368, allocations: 4 kB / 352 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.927e-05/0.006458, allocations: 73.06 kB / 352 MB, free: 5.105 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.006459, allocations: 0 / 352 MB, free: 5.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001441/0.006603, allocations: 73.62 kB / 352.1 MB, free: 5.027 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.006624, allocations: 63.34 kB / 352.2 MB, free: 4.953 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.531e-05/0.00668, allocations: 196.6 kB / 352.4 MB, free: 4.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.006687, allocations: 25.7 kB / 352.4 MB, free: 4.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.006723, allocations: 151.1 kB / 352.5 MB, free: 4.562 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.006742, allocations: 15.89 kB / 352.6 MB, free: 4.547 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.006776, allocations: 35.34 kB / 352.6 MB, free: 4.504 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.989e-05/0.006835, allocations: 0.4883 MB / 353.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.006853, allocations: 11.98 kB / 353.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.006879, allocations: 31.36 kB / 353.1 MB, free: 3.953 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.109e-05/0.00692, allocations: 47.3 kB / 353.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.006923, allocations: 4 kB / 353.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.334e-05/0.007006, allocations: 69.77 kB / 353.2 MB, free: 3.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.007019, allocations: 8 kB / 353.2 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.007026, allocations: 0 / 353.2 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.007041, allocations: 0 / 353.2 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.905e-05/0.00712, allocations: 15.98 kB / 353.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.007123, allocations: 4.25 kB / 353.3 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.322e-05/0.007156, allocations: 15.95 kB / 353.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.007161, allocations: 4.031 kB / 353.3 MB, free: 3.773 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 6.433e-05/0.007226, allocations: 168.4 kB / 353.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.00724, allocations: 11.95 kB / 353.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.007269, allocations: 12.78 kB / 353.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.007271, allocations: 0 / 353.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.007274, allocations: 0 / 353.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.007277, allocations: 0 / 353.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.007499, allocations: 321.9 kB / 353.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.007501, allocations: 0 / 353.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.219e-05/0.007553, allocations: 15.92 kB / 353.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.007556, allocations: 0 / 353.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.007565, allocations: 4 kB / 353.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.007567, allocations: 0 / 353.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.007568, allocations: 0 / 353.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.007707, allocations: 231.8 kB / 354 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.007722, allocations: 3.953 kB / 354 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.007734, allocations: 4 kB / 354 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.165e-05/0.007786, allocations: 11.98 kB / 354.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.00784, allocations: 15.97 kB / 354.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.007846, allocations: 8.031 kB / 354.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.596e-05/0.007882, allocations: 143.1 kB / 354.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007882, allocations: 0 / 354.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001548/0.008037, allocations: 15.95 kB / 354.2 MB, free: 2.766 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 7.711e-05/0.008114, allocations: 99.19 kB / 354.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.595e-05/0.0082, allocations: 43.69 kB / 354.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.008202, allocations: 3.938 kB / 354.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/0.008249, allocations: 27.69 kB / 354.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.008481, allocations: 28.02 kB / 354.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.00884, allocations: 217.2 kB / 354.6 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.781e-05/0.008868, allocations: 63.34 kB / 354.7 MB, free: 2.227 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.072e-05/0.008899, allocations: 8.672 kB / 354.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.008951, allocations: 82.19 kB / 354.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.008952, allocations: 4 kB / 354.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of Templates: time 0.002865/0.01182, allocations: 1.395 MB / 356.2 MB, free: 0.7617 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.3405012087896466]