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.0009729/0.0009729, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001056/0.001056, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 1.008/1.008, allocations: 177 MB / 204.8 MB, free: 5.598 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.2742/0.2742, allocations: 34.87 MB / 296.3 MB, free: 0.5508 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 2.264e-06/2.264e-06, allocations: 0 / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.11e-05, allocations: 3.016 kB / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002814/0.002845, allocations: 1.668 MB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.003964, allocations: 0.5724 MB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.004084, allocations: 8 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.00422, allocations: 11.86 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.004275, allocations: 7.875 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.004661, allocations: 91.69 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.004843, allocations: 115.7 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.004962, allocations: 23.92 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.005078, allocations: 67.88 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.972e-05/0.005148, allocations: 23.91 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.005176, allocations: 8 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.465e-05/0.005191, allocations: 12 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.005219, allocations: 23.91 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.005262, allocations: 27.92 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.005416, allocations: 67.72 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.005419, allocations: 0 / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00542, allocations: 0 / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.005426, allocations: 0 / 381.5 MB, free: 15.36 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.0005892/0.006015, allocations: 439.9 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.006058, allocations: 12.03 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.006118, allocations: 20.89 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.006332, allocations: 152.4 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.006358, allocations: 12.31 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.006384, allocations: 12.33 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.006613, allocations: 90.91 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.006623, allocations: 4.188 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.006637, allocations: 384 / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.006648, allocations: 3.938 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.105e-05/0.006709, allocations: 31.97 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007021/0.007411, allocations: 339.5 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.007554, allocations: 62.98 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/0.007586, allocations: 19.72 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.007596, allocations: 0 / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.007737, allocations: 89.06 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.007738, allocations: 0 / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002239/0.007962, allocations: 77.62 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.008006, allocations: 59.34 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.008116, allocations: 192.1 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.008131, allocations: 29.7 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.008199, allocations: 151.1 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.008225, allocations: 15.91 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.008273, allocations: 31.36 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.008417, allocations: 0.4922 MB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.006e-05/0.008457, allocations: 16 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.081e-05/0.008507, allocations: 35.36 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.651e-05/0.008574, allocations: 39.31 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.008577, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000135/0.008712, allocations: 81.7 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.008731, allocations: 4 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.008737, allocations: 0 / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.008756, allocations: 4 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.008858, allocations: 20.02 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.008865, allocations: 0 / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.008911, allocations: 15.94 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.00892, allocations: 4 kB / 384 MB, free: 12.62 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 9.431e-05/0.009014, allocations: 172.3 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.009033, allocations: 11.95 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.009065, allocations: 12.78 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.00907, allocations: 4 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.009074, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.009079, allocations: 7.984 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.009411, allocations: 337.3 kB / 384.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.009413, allocations: 0 / 384.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.847e-05/0.009481, allocations: 11.98 kB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.009485, allocations: 0 / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.009497, allocations: 0 / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.0095, allocations: 0 / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.009501, allocations: 0 / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.009718, allocations: 239.8 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.009732, allocations: 11.98 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.009754, allocations: 4 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/0.009834, allocations: 11.98 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.009896, allocations: 23.84 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.009904, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.15e-05/0.009965, allocations: 142 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009965, allocations: 0 / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.01021, allocations: 19.95 kB / 385 MB, free: 11.55 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 9.277e-05/0.0103, allocations: 95.25 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.01043, allocations: 51.59 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01044, allocations: 0 / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.543e-05/0.01049, allocations: 28.16 kB / 385.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.01078, allocations: 20.12 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006235/0.01141, allocations: 258 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.608e-05/0.01145, allocations: 63.34 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.795e-05/0.01149, allocations: 4.734 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.01153, allocations: 20.5 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01153, allocations: 0 / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Templates: time 0.004095/0.01563, allocations: 1.33 MB / 386.8 MB, free: 9.652 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: 3.092892272863537]