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.002284/0.002284, allocations: 99.53 kB / 20.97 MB, free: 3.449 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.002794/0.002794, allocations: 160.8 kB / 24.27 MB, free: 152 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.603/1.603, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 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.3564/0.3564, allocations: 34.26 MB / 295.2 MB, free: 0.6406 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.332e-06/1.332e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/2.945e-05, allocations: 3.859 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003282/0.003311, allocations: 1.638 MB / 378.8 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.004617, allocations: 0.5686 MB / 379.4 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.972e-05/0.004717, allocations: 3.938 kB / 379.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.004849, allocations: 11.81 kB / 379.4 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.827e-05/0.004917, allocations: 19.86 kB / 379.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.005338, allocations: 87.77 kB / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.005564, allocations: 119.7 kB / 379.6 MB, free: 452 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.005671, allocations: 16 kB / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.005804, allocations: 71.8 kB / 379.7 MB, free: 364 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.005877, allocations: 27.91 kB / 379.8 MB, free: 336 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.005907, allocations: 8 kB / 379.8 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.005926, allocations: 8 kB / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.005961, allocations: 23.91 kB / 379.8 MB, free: 296 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.904e-05/0.00601, allocations: 23.92 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.006194, allocations: 91.67 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.006197, allocations: 0 / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.006198, allocations: 4 kB / 379.9 MB, free: 176 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.006202, allocations: 0 / 379.9 MB, free: 176 kB / 346.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.000762/0.006964, allocations: 443.6 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.006999, allocations: 12.03 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.007058, allocations: 16.84 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.007337, allocations: 158.9 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.007357, allocations: 8.375 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.00738, allocations: 8.375 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.007682, allocations: 90.22 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.007698, allocations: 192 / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.007722, allocations: 4.359 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.007737, allocations: 7.938 kB / 380.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.007933, allocations: 47.91 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000824/0.008757, allocations: 363.4 kB / 381 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.009068, allocations: 94.97 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.009202, allocations: 27.75 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.009221, allocations: 4 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.009489, allocations: 97.02 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.00949, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004567/0.009947, allocations: 125.5 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.01001, allocations: 51.41 kB / 381.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.01022, allocations: 197.9 kB / 381.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.01026, allocations: 33.7 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.01042, allocations: 155.1 kB / 381.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.01046, allocations: 15.91 kB / 381.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.01056, allocations: 39.36 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004219/0.01098, allocations: 0.4961 MB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.01109, allocations: 31.98 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.01122, allocations: 51.3 kB / 382.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.01141, allocations: 63.36 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01142, allocations: 0 / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002906/0.01171, allocations: 109.6 kB / 382.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.01173, allocations: 11.98 kB / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01173, allocations: 0 / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.01175, allocations: 0 / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.01187, allocations: 15.94 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.01188, allocations: 0 / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.356e-05/0.01197, allocations: 15.94 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.01198, allocations: 4.031 kB / 382.7 MB, free: 13.19 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 0.0001333/0.01211, allocations: 170.8 kB / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.01213, allocations: 11.95 kB / 382.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.01219, allocations: 12.77 kB / 382.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.01219, allocations: 4 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.0122, allocations: 0 / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.0122, allocations: 0 / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.01273, allocations: 385.5 kB / 383.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01273, allocations: 4 kB / 383.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.01281, allocations: 11.98 kB / 383.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.01281, allocations: 4 kB / 383.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.01283, allocations: 4 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.01283, allocations: 4 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01283, allocations: 0 / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/0.01339, allocations: 283.7 kB / 383.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.01341, allocations: 11.98 kB / 383.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.01343, allocations: 0 / 383.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.01354, allocations: 15.98 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.01361, allocations: 19.91 kB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.01362, allocations: 4 kB / 383.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000104/0.01372, allocations: 143.2 kB / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01372, allocations: 0 / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002215/0.01394, allocations: 19.95 kB / 383.7 MB, free: 12.03 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 0.0001277/0.01407, allocations: 95.25 kB / 383.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002835/0.01435, allocations: 83.58 kB / 383.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01436, allocations: 0 / 383.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.01448, allocations: 39.67 kB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.01479, allocations: 27.11 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008769/0.01567, allocations: 254 kB / 384.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.01577, allocations: 89.42 kB / 384.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.014e-05/0.01581, allocations: 4.734 kB / 384.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.01586, allocations: 20.5 kB / 384.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01586, allocations: 0 / 384.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of Templates: time 0.005703/0.02157, allocations: 1.249 MB / 385.6 MB, free: 10.13 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","/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.975451877922751]