Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3782/0.3782, allocations: 32.79 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 375.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.413e-05, allocations: 6.25 kB / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003257/0.003291, allocations: 1.63 MB / 376.9 MB, free: 3.375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004511, allocations: 0.557 MB / 377.4 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/0.004594, allocations: 3.938 kB / 377.4 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.004721, allocations: 11.86 kB / 377.4 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.726e-05/0.004778, allocations: 15.88 kB / 377.5 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.005135, allocations: 87.73 kB / 377.5 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.005336, allocations: 115.6 kB / 377.7 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.005456, allocations: 23.97 kB / 377.7 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.005589, allocations: 67.81 kB / 377.7 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.905e-05/0.005668, allocations: 31.89 kB / 377.8 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.005697, allocations: 12 kB / 377.8 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.788e-05/0.005715, allocations: 8 kB / 377.8 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.005754, allocations: 23.91 kB / 377.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.005808, allocations: 23.92 kB / 377.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.006012, allocations: 95.61 kB / 377.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.624e-06/0.006014, allocations: 0 / 377.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006015, allocations: 4 kB / 377.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.00602, allocations: 0 / 377.9 MB, free: 2.297 MB / 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.0007382/0.006758, allocations: 342.8 kB / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.006806, allocations: 12.03 kB / 378.3 MB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.225e-05/0.006878, allocations: 20.84 kB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.007161, allocations: 145.6 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.007181, allocations: 4.375 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.007214, allocations: 8.375 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.007543, allocations: 106.2 kB / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.007554, allocations: 192 / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.00757, allocations: 4.375 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.00758, allocations: 7.938 kB / 378.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.007756, allocations: 51.91 kB / 378.6 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007188/0.008475, allocations: 312.2 kB / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.008829, allocations: 98.5 kB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.008955, allocations: 40.86 kB / 379.1 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.00897, allocations: 0 / 379.1 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.009249, allocations: 95.36 kB / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.00925, allocations: 0 / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005205/0.00977, allocations: 149.5 kB / 379.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.00982, allocations: 51.41 kB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.009961, allocations: 135.5 kB / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.009989, allocations: 29.7 kB / 379.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/0.01007, allocations: 108.3 kB / 379.6 MB, free: 464 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.0101, allocations: 11.91 kB / 379.6 MB, free: 452 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.786e-05/0.01017, allocations: 29.7 kB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.01036, allocations: 326.8 kB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.01049, allocations: 35.98 kB / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.01064, allocations: 53.7 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.01088, allocations: 77.67 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01088, allocations: 0 / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000329/0.01121, allocations: 121.5 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.01123, allocations: 4 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.01123, allocations: 4 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.01125, allocations: 0 / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.01136, allocations: 23.95 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.01137, allocations: 0 / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.409e-05/0.01146, allocations: 15.94 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.01147, allocations: 4 kB / 380.3 MB, free: 15.72 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.0001222/0.01159, allocations: 121.8 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.01162, allocations: 15.94 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.01166, allocations: 8.781 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.01166, allocations: 4 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01167, allocations: 4 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01167, allocations: 0 / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.01223, allocations: 329.9 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01223, allocations: 0 / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.179e-05/0.01232, allocations: 19.98 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01232, allocations: 4 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.01233, allocations: 0 / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01234, allocations: 0 / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.01234, allocations: 4.375 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005118/0.01285, allocations: 251.3 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.01311, allocations: 12.05 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.01313, allocations: 4 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.01328, allocations: 19.97 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.01335, allocations: 19.91 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.01336, allocations: 4 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.447e-05/0.01344, allocations: 102.2 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01344, allocations: 0 / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.01368, allocations: 19.95 kB / 381.2 MB, free: 14.74 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.0001194/0.0138, allocations: 99.25 kB / 381.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003166/0.01412, allocations: 83.86 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01412, allocations: 3.938 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.01426, allocations: 39.98 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.01458, allocations: 24.05 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009909/0.01557, allocations: 279.9 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.15e-05/0.01566, allocations: 85.45 kB / 381.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.255e-05/0.01571, allocations: 8.719 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.01575, allocations: 16.5 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01575, allocations: 0 / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of Templates: time 0.004383/0.02014, allocations: 1.261 MB / 383.1 MB, free: 12.81 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.883404763997532]