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.0009337/0.0009337, allocations: 90.58 kB / 21.43 MB, free: 3.062 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.0008897/0.0008897, allocations: 164.9 kB / 24.82 MB, free: 9.246 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.9078/0.9078, allocations: 177 MB / 205.1 MB, free: 5.496 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.2323/0.2323, allocations: 34.87 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.643e-06/1.643e-06, allocations: 0 / 379.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.47e-05, allocations: 2.312 kB / 379.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002063/0.002078, allocations: 1.68 MB / 380.9 MB, free: 172 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007315/0.002809, allocations: 0.5608 MB / 381.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.002881, allocations: 0 / 381.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.858e-05/0.002979, allocations: 15.86 kB / 381.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 4.117e-05/0.00302, allocations: 19.8 kB / 381.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.003247, allocations: 87.75 kB / 381.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.003366, allocations: 111.7 kB / 381.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.852e-05/0.003455, allocations: 27.91 kB / 381.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.68e-05/0.003541, allocations: 63.89 kB / 381.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.003593, allocations: 31.88 kB / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.003613, allocations: 8 kB / 381.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.003624, allocations: 8 kB / 381.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.254e-05/0.003646, allocations: 23.86 kB / 381.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.00368, allocations: 31.91 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.003783, allocations: 55.81 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003784, allocations: 4 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003785, allocations: 0 / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.003789, allocations: 7.922 kB / 381.9 MB, free: 15.11 MB / 362.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.0003813/0.00417, allocations: 447.9 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.004201, allocations: 12.03 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.00423, allocations: 12.89 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.004355, allocations: 148.4 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.00437, allocations: 4.375 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.004388, allocations: 16.33 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.004513, allocations: 86.91 kB / 382.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.004519, allocations: 192 / 382.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.004528, allocations: 4.375 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.004534, allocations: 7.938 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.052e-05/0.004564, allocations: 15.98 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.004881, allocations: 320.1 kB / 383 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.562e-05/0.004966, allocations: 66.95 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.004985, allocations: 15.72 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.004995, allocations: 4 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.014e-05/0.005075, allocations: 69.08 kB / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.005076, allocations: 0 / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001301/0.005206, allocations: 81.56 kB / 383.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.005231, allocations: 55.41 kB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/0.005304, allocations: 196.2 kB / 383.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.005317, allocations: 29.7 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.005368, allocations: 151.1 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.005384, allocations: 11.91 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.005416, allocations: 31.36 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.005517, allocations: 0.4922 MB / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.005535, allocations: 11.98 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.631e-05/0.005561, allocations: 35.36 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.005605, allocations: 43.3 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.005607, allocations: 0 / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.224e-05/0.005679, allocations: 69.58 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.00569, allocations: 8 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.005694, allocations: 0 / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.005703, allocations: 3.938 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.451e-05/0.005757, allocations: 15.98 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.00576, allocations: 3.938 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.324e-05/0.005793, allocations: 15.95 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-06/0.005797, allocations: 4.031 kB / 384.4 MB, free: 12.44 MB / 362.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.305e-05/0.00586, allocations: 168.5 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.005871, allocations: 11.94 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.005895, allocations: 16.77 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.005896, allocations: 0 / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.005898, allocations: 4 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.005901, allocations: 0 / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.006097, allocations: 317.9 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006098, allocations: 4 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.006132, allocations: 8 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.006135, allocations: 3.984 kB / 384.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.006142, allocations: 4 kB / 384.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.006142, allocations: 0 / 384.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006143, allocations: 0 / 384.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.006271, allocations: 235.8 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-06/0.006279, allocations: 3.953 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.00629, allocations: 8 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.814e-05/0.006339, allocations: 7.984 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.006379, allocations: 16.02 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.006385, allocations: 7.984 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.731e-05/0.006422, allocations: 137.8 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006422, allocations: 0 / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001496/0.006572, allocations: 19.95 kB / 385.3 MB, free: 11.42 MB / 362.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.813e-05/0.00663, allocations: 95.19 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.236e-05/0.006702, allocations: 47.58 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.006703, allocations: 0 / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.006737, allocations: 24.22 kB / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.006924, allocations: 24.61 kB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.007306, allocations: 254 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.236e-05/0.007338, allocations: 63.28 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.548e-05/0.007364, allocations: 8.734 kB / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.007422, allocations: 82.19 kB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.007423, allocations: 4 kB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.002786/0.01021, allocations: 1.362 MB / 387.3 MB, free: 9.418 MB / 362.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 -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.798219565767795]