Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001766/0.001766, allocations: 91.02 kB / 20.69 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002159/0.002159, allocations: 158.3 kB / 23.95 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2304/0.2304, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 442.6 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.678e-05/3.875e-05, allocations: 2.281 kB / 442.6 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003324/0.003363, allocations: 1.626 MB / 444.3 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.004534, allocations: 0.5609 MB / 444.8 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.715e-05/0.004631, allocations: 3.938 kB / 444.8 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.004778, allocations: 15.86 kB / 444.9 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.48e-05/0.004833, allocations: 7.875 kB / 444.9 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.005208, allocations: 87.75 kB / 444.9 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.005397, allocations: 123.7 kB / 445.1 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.005505, allocations: 15.98 kB / 445.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.005634, allocations: 67.81 kB / 445.1 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.005704, allocations: 23.91 kB / 445.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.005731, allocations: 8 kB / 445.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.822e-05/0.005749, allocations: 8 kB / 445.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.005786, allocations: 23.91 kB / 445.2 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.005836, allocations: 27.92 kB / 445.2 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.006015, allocations: 95.67 kB / 445.3 MB, free: 2.598 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.006019, allocations: 7.938 kB / 445.3 MB, free: 2.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.00602, allocations: 3.938 kB / 445.3 MB, free: 2.586 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.006026, allocations: 0 / 445.3 MB, free: 2.586 MB / 366.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.0007259/0.006752, allocations: 346.8 kB / 445.7 MB, free: 2.215 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.006793, allocations: 12.02 kB / 445.7 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.006843, allocations: 12.89 kB / 445.7 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.007153, allocations: 152.2 kB / 445.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.007177, allocations: 8.375 kB / 445.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.007203, allocations: 8.375 kB / 445.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.007514, allocations: 98.2 kB / 446 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.007526, allocations: 192 / 446 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.00754, allocations: 384 / 446 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.00755, allocations: 7.938 kB / 446 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.00774, allocations: 59.89 kB / 446 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007141/0.008454, allocations: 300.3 kB / 446.3 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.008837, allocations: 102.5 kB / 446.4 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.008969, allocations: 32.91 kB / 446.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.008989, allocations: 4 kB / 446.5 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003046/0.009293, allocations: 107.3 kB / 446.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.009295, allocations: 0 / 446.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005455/0.009841, allocations: 137.5 kB / 446.7 MB, free: 1.105 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.009914, allocations: 55.41 kB / 446.8 MB, free: 1.039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.01008, allocations: 134.1 kB / 446.9 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.01011, allocations: 29.7 kB / 446.9 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.0102, allocations: 100.3 kB / 447 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.01023, allocations: 19.98 kB / 447 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/0.0103, allocations: 29.7 kB / 447.1 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.01047, allocations: 322.8 kB / 447.4 MB, free: 384 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.01061, allocations: 31.97 kB / 447.4 MB, free: 352 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.01075, allocations: 53.69 kB / 447.5 MB, free: 292 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.01102, allocations: 77.75 kB / 447.5 MB, free: 208 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01102, allocations: 0 / 447.5 MB, free: 208 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003167/0.01134, allocations: 125.6 kB / 447.7 MB, free: 76 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.01136, allocations: 4 kB / 447.7 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.01136, allocations: 7.938 kB / 447.7 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.01138, allocations: 7.984 kB / 447.7 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.0115, allocations: 15.92 kB / 447.7 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.01151, allocations: 4 kB / 447.7 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.623e-05/0.0116, allocations: 19.94 kB / 447.7 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.01161, allocations: 8 kB / 447.7 MB, free: 8 kB / 366.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.1865/0.1981, allocations: 116.9 kB / 447.8 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.1981, allocations: 6.828 kB / 447.8 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.737e-05/0.1982, allocations: 14.03 kB / 447.9 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.1982, allocations: 0.5312 kB / 447.9 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1982, allocations: 1.094 kB / 447.9 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1982, allocations: 0.7969 kB / 447.9 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007032/0.1989, allocations: 330.2 kB / 448.2 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1989, allocations: 1.344 kB / 448.2 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.199, allocations: 16.23 kB / 448.2 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.199, allocations: 0.8438 kB / 448.2 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.199, allocations: 1.438 kB / 448.2 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.199, allocations: 3.562 kB / 448.2 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1991, allocations: 0.75 kB / 448.2 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/0.1995, allocations: 251.9 kB / 448.5 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.1995, allocations: 10.27 kB / 448.5 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.1996, allocations: 5.891 kB / 448.5 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.1997, allocations: 16.69 kB / 448.5 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.1998, allocations: 15.73 kB / 448.5 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.1998, allocations: 2.984 kB / 448.5 MB, free: 18.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.71e-05/0.1998, allocations: 104.7 kB / 448.6 MB, free: 18.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1998, allocations: 0 / 448.6 MB, free: 18.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.2001, allocations: 17.84 kB / 448.6 MB, free: 18.59 MB / 366.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 8.996e-05/0.2002, allocations: 98.95 kB / 448.7 MB, free: 18.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003268/0.2005, allocations: 77.94 kB / 448.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2005, allocations: 0 / 448.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.2007, allocations: 46.11 kB / 448.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.201, allocations: 20.44 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.2021, allocations: 272.5 kB / 449.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.251e-05/0.2022, allocations: 84.02 kB / 449.2 MB, free: 18.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.315e-05/0.2022, allocations: 11.38 kB / 449.2 MB, free: 18.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.2023, allocations: 14.67 kB / 449.2 MB, free: 18.28 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2023, allocations: 0 / 449.2 MB, free: 18.28 MB / 366.1 MB Notification: Performance of Templates: time 0.004274/0.2065, allocations: 1.248 MB / 450.5 MB, free: 18.21 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 4.951560724526644]