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.001075/0.001075, allocations: 91.33 kB / 20.42 MB, free: 4.141 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.001333/0.001333, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 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 0.9246/0.9246, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1363/0.1363, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.343e-06/1.343e-06, allocations: 0 / 347.6 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.703e-05, allocations: 9.406 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.00166/0.001677, allocations: 1.662 MB / 349.3 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007013/0.002378, allocations: 0.5813 MB / 349.9 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.237e-05/0.00245, allocations: 7.938 kB / 349.9 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.002559, allocations: 11.86 kB / 349.9 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.923e-05/0.002598, allocations: 11.88 kB / 349.9 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.00285, allocations: 95.62 kB / 350 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.002963, allocations: 111.7 kB / 350.1 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.003071, allocations: 23.89 kB / 350.2 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.634e-05/0.003148, allocations: 75.81 kB / 350.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.003197, allocations: 23.91 kB / 350.3 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.003216, allocations: 8 kB / 350.3 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.003227, allocations: 8 kB / 350.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.003248, allocations: 23.91 kB / 350.3 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.003281, allocations: 27.92 kB / 350.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.003384, allocations: 71.66 kB / 350.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.552e-06/0.003386, allocations: 0 / 350.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.2e-07/0.003386, allocations: 0 / 350.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.00339, allocations: 0 / 350.4 MB, free: 6.699 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.0003968/0.003787, allocations: 451.9 kB / 350.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.003819, allocations: 8.031 kB / 350.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.003858, allocations: 16.89 kB / 350.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.003994, allocations: 140.5 kB / 351 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.004013, allocations: 8.375 kB / 351 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.004038, allocations: 16.33 kB / 351 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.004176, allocations: 94.86 kB / 351.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004184, allocations: 4.172 kB / 351.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.004194, allocations: 384 / 351.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.004202, allocations: 7.938 kB / 351.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.487e-05/0.004247, allocations: 19.98 kB / 351.1 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.004581, allocations: 351.4 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.049e-05/0.004671, allocations: 59.08 kB / 351.5 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.004692, allocations: 19.72 kB / 351.6 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-06/0.0047, allocations: 0 / 351.6 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.434e-05/0.004784, allocations: 80.97 kB / 351.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 7.11e-07/0.004785, allocations: 0 / 351.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001562/0.004941, allocations: 85.61 kB / 351.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.004963, allocations: 51.41 kB / 351.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.105e-05/0.005044, allocations: 197.5 kB / 352 MB, free: 4.949 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.005057, allocations: 25.7 kB / 352 MB, free: 4.918 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.005097, allocations: 155.1 kB / 352.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.00512, allocations: 15.91 kB / 352.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.005158, allocations: 31.36 kB / 352.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.005211, allocations: 0.4961 MB / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.57e-05/0.005246, allocations: 15.94 kB / 352.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.944e-05/0.005286, allocations: 27.36 kB / 352.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.798e-05/0.005334, allocations: 39.38 kB / 352.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005336, allocations: 0 / 352.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.884e-05/0.005415, allocations: 85.73 kB / 352.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.005427, allocations: 11.98 kB / 352.9 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.005432, allocations: 0 / 352.9 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.005447, allocations: 0 / 352.9 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.542e-05/0.005522, allocations: 16 kB / 352.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.005527, allocations: 0 / 352.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.005559, allocations: 11.94 kB / 352.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.005564, allocations: 4 kB / 352.9 MB, free: 3.969 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.228e-05/0.005617, allocations: 164.5 kB / 353.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.005628, allocations: 11.95 kB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.005655, allocations: 20.7 kB / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005656, allocations: 0 / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.00566, allocations: 0 / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.005663, allocations: 0 / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.005858, allocations: 345.6 kB / 353.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.005859, allocations: 7.938 kB / 353.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.005902, allocations: 7.984 kB / 353.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.005904, allocations: 0 / 353.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.005914, allocations: 4 kB / 353.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.005915, allocations: 7.938 kB / 353.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005916, allocations: 0 / 353.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.006034, allocations: 235.9 kB / 353.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.006043, allocations: 7.953 kB / 353.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.006055, allocations: 0 / 353.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.778e-05/0.006103, allocations: 15.98 kB / 353.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.006149, allocations: 19.91 kB / 353.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.006154, allocations: 4 kB / 353.7 MB, free: 3.066 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.901e-05/0.006183, allocations: 139.2 kB / 353.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006183, allocations: 0 / 353.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001412/0.006324, allocations: 19.98 kB / 353.9 MB, free: 2.91 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 5.244e-05/0.006377, allocations: 103.2 kB / 354 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.232e-05/0.006469, allocations: 51.69 kB / 354 MB, free: 2.742 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.00647, allocations: 0 / 354 MB, free: 2.742 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.827e-05/0.006509, allocations: 35.61 kB / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.006704, allocations: 15.98 kB / 354.1 MB, free: 2.688 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.007011, allocations: 217.2 kB / 354.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.2e-05/0.007033, allocations: 63.36 kB / 354.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.387e-05/0.007057, allocations: 4.734 kB / 354.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.007089, allocations: 20.48 kB / 354.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007089, allocations: 0 / 354.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of Templates: time 0.002521/0.00961, allocations: 1.296 MB / 355.7 MB, free: 1.066 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.20348598388955]