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.001202/0.001202, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001461/0.001461, allocations: 166.5 kB / 24.91 MB, free: 9.199 MB / 18.57 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 0.9869/0.9869, allocations: 177 MB / 205.2 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.2896/0.2896, allocations: 34.86 MB / 296.6 MB, free: 0.5117 MB / 266.7 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.192e-06/1.192e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.791e-05, allocations: 4.281 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002164/0.002182, allocations: 1.719 MB / 327.7 MB, free: 5.426 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007602/0.002942, allocations: 0.5837 MB / 328.2 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.388e-05/0.003016, allocations: 3.938 kB / 328.2 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.983e-05/0.003116, allocations: 11.86 kB / 328.3 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.148e-05/0.003158, allocations: 11.88 kB / 328.3 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.003398, allocations: 95.62 kB / 328.4 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.003525, allocations: 111.7 kB / 328.5 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.003614, allocations: 27.91 kB / 328.5 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.789e-05/0.003701, allocations: 71.81 kB / 328.6 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.003752, allocations: 19.97 kB / 328.6 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.003769, allocations: 8 kB / 328.6 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.00378, allocations: 11.94 kB / 328.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.0038, allocations: 19.97 kB / 328.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.00383, allocations: 27.92 kB / 328.7 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.003934, allocations: 71.66 kB / 328.7 MB, free: 4.355 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.003936, allocations: 0 / 328.7 MB, free: 4.355 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003937, allocations: 0 / 328.7 MB, free: 4.355 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.00394, allocations: 0 / 328.7 MB, free: 4.355 MB / 298.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.0003266/0.004267, allocations: 310.7 kB / 329 MB, free: 4.031 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.004295, allocations: 12.03 kB / 329 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.004327, allocations: 12.92 kB / 329.1 MB, free: 4.008 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.004465, allocations: 133.6 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.00448, allocations: 8.375 kB / 329.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.004497, allocations: 8.375 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.004622, allocations: 92.95 kB / 329.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.004629, allocations: 4.188 kB / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.004637, allocations: 4.375 kB / 329.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.004643, allocations: 7.938 kB / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.197e-05/0.004675, allocations: 19.92 kB / 329.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.004978, allocations: 224 kB / 329.5 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.854e-05/0.005057, allocations: 42.55 kB / 329.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/0.005072, allocations: 12.86 kB / 329.6 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.005081, allocations: 7.984 kB / 329.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.493e-05/0.005166, allocations: 75.3 kB / 329.7 MB, free: 3.309 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.005167, allocations: 0 / 329.7 MB, free: 3.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 9.725e-05/0.005264, allocations: 53.69 kB / 329.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.005302, allocations: 59.39 kB / 329.8 MB, free: 3.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.305e-05/0.005365, allocations: 137.1 kB / 329.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.005378, allocations: 29.7 kB / 330 MB, free: 3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.005415, allocations: 100.4 kB / 330.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.005436, allocations: 27.83 kB / 330.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.005465, allocations: 25.7 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.243e-05/0.005537, allocations: 322.8 kB / 330.4 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.005552, allocations: 8 kB / 330.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.418e-05/0.005576, allocations: 25.66 kB / 330.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.593e-05/0.005612, allocations: 33.69 kB / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005614, allocations: 0 / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.477e-05/0.005679, allocations: 65.61 kB / 330.5 MB, free: 2.363 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.00569, allocations: 12.03 kB / 330.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.005694, allocations: 0 / 330.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.005704, allocations: 0 / 330.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.695e-05/0.005761, allocations: 19.92 kB / 330.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.005763, allocations: 0 / 330.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.005793, allocations: 11.94 kB / 330.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.005797, allocations: 0 / 330.6 MB, free: 2.32 MB / 298.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,change.u,$PRE.change.u,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,integrator.reset,$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.498e-05/0.005852, allocations: 117.8 kB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.005861, allocations: 7.984 kB / 330.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.005883, allocations: 20.78 kB / 330.7 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.005885, allocations: 0 / 330.7 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.005886, allocations: 0 / 330.7 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.00589, allocations: 3.984 kB / 330.7 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.006058, allocations: 226.7 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.00606, allocations: 3.984 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.58e-05/0.006096, allocations: 4 kB / 331 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.006097, allocations: 4 kB / 331 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.006104, allocations: 4 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.006105, allocations: 0 / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006106, allocations: 4 kB / 331 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.006222, allocations: 175.8 kB / 331.2 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.00623, allocations: 7.953 kB / 331.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.00624, allocations: 3.938 kB / 331.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.921e-05/0.00629, allocations: 11.98 kB / 331.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.006328, allocations: 15.97 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.006333, allocations: 4 kB / 331.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.802e-05/0.006351, allocations: 24.83 kB / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006351, allocations: 0 / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001169/0.006468, allocations: 23.97 kB / 331.2 MB, free: 1.617 MB / 298.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,booleanPulse.pulseStart,change.u) * 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.765e-05/0.006525, allocations: 72.42 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.246e-05/0.006598, allocations: 48.78 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.0066, allocations: 0 / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.00663, allocations: 16.86 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.006772, allocations: 24.8 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.007143, allocations: 233.4 kB / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.378e-05/0.007177, allocations: 63.34 kB / 331.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.486e-05/0.007202, allocations: 4.734 kB / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.335e-05/0.007255, allocations: 67.36 kB / 331.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.007256, allocations: 0 / 331.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of Templates: time 0.002465/0.009721, allocations: 1.317 MB / 333.1 MB, free: 15.75 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.956673610024154]