Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001626/0.001626, allocations: 76.38 kB / 19.93 MB, free: 1.773 MB / 14.72 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.002302/0.002302, allocations: 175.6 kB / 23.22 MB, free: 4.879 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.219/0.219, allocations: 32.37 MB / 269.6 MB, free: 4.66 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 407.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.893e-05, allocations: 4.391 kB / 407.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003042/0.003071, allocations: 1.612 MB / 409 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.004246, allocations: 0.5733 MB / 409.5 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.004357, allocations: 3.938 kB / 409.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.004504, allocations: 15.86 kB / 409.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.362e-05/0.004578, allocations: 19.8 kB / 409.6 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.004984, allocations: 87.12 kB / 409.7 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.005187, allocations: 119.7 kB / 409.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.0053, allocations: 23.91 kB / 409.8 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.005443, allocations: 59.89 kB / 409.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.005513, allocations: 35.88 kB / 409.9 MB, free: 480 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.00554, allocations: 8 kB / 409.9 MB, free: 472 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.067e-05/0.005561, allocations: 8 kB / 409.9 MB, free: 464 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.005592, allocations: 23.86 kB / 409.9 MB, free: 440 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.005641, allocations: 35.91 kB / 410 MB, free: 404 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.005816, allocations: 87.69 kB / 410 MB, free: 316 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.005818, allocations: 0 / 410 MB, free: 316 kB / 334.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005819, allocations: 0 / 410 MB, free: 316 kB / 334.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.005823, allocations: 0 / 410 MB, free: 316 kB / 334.1 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.0007007/0.006524, allocations: 350.8 kB / 410.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.006564, allocations: 12.03 kB / 410.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.006613, allocations: 12.83 kB / 410.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.006902, allocations: 149.6 kB / 410.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.00692, allocations: 384 / 410.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.006945, allocations: 12.38 kB / 410.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.007256, allocations: 109.5 kB / 410.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.007265, allocations: 4.125 kB / 410.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.007278, allocations: 384 / 410.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.007285, allocations: 7.938 kB / 410.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.00748, allocations: 55.91 kB / 410.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.008166, allocations: 300.3 kB / 411 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.008549, allocations: 106.4 kB / 411.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.00867, allocations: 32.92 kB / 411.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.008683, allocations: 0 / 411.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.008966, allocations: 99.36 kB / 411.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.008968, allocations: 4 kB / 411.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004918/0.00946, allocations: 137.5 kB / 411.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.009506, allocations: 55.41 kB / 411.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.009636, allocations: 134.1 kB / 411.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.009663, allocations: 33.7 kB / 411.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.009735, allocations: 104.3 kB / 411.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.009764, allocations: 19.94 kB / 411.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.009823, allocations: 29.7 kB / 411.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.009979, allocations: 322.8 kB / 412.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.01011, allocations: 35.98 kB / 412.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.01025, allocations: 53.69 kB / 412.2 MB, free: 14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.01049, allocations: 77.73 kB / 412.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01049, allocations: 4 kB / 412.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003212/0.01081, allocations: 117.5 kB / 412.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.01083, allocations: 8 kB / 412.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01084, allocations: 0 / 412.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.01085, allocations: 0 / 412.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.01097, allocations: 23.92 kB / 412.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.01098, allocations: 0 / 412.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.771e-05/0.01108, allocations: 20.02 kB / 412.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.01108, allocations: 0 / 412.4 MB, free: 13.74 MB / 350.1 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.0001172/0.0112, allocations: 121.8 kB / 412.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.01122, allocations: 15.94 kB / 412.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.01126, allocations: 8.781 kB / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01126, allocations: 3.938 kB / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.01127, allocations: 4 kB / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01127, allocations: 0 / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005619/0.01183, allocations: 334.3 kB / 412.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01183, allocations: 0 / 412.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.917e-05/0.01192, allocations: 11.98 kB / 412.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.01193, allocations: 4 kB / 412.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.01194, allocations: 0 / 412.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01194, allocations: 0 / 412.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01194, allocations: 80 / 412.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.01245, allocations: 255.3 kB / 413.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.01247, allocations: 7.891 kB / 413.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.0125, allocations: 4.031 kB / 413.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.01266, allocations: 28.03 kB / 413.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.01272, allocations: 15.91 kB / 413.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.01272, allocations: 0 / 413.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.698e-05/0.01281, allocations: 105.4 kB / 413.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01281, allocations: 0 / 413.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.01305, allocations: 16.09 kB / 413.3 MB, free: 12.76 MB / 350.1 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.0001069/0.01316, allocations: 95.19 kB / 413.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003096/0.01347, allocations: 87.88 kB / 413.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01347, allocations: 0 / 413.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.01362, allocations: 39.98 kB / 413.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.01395, allocations: 27.81 kB / 413.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005553/0.01451, allocations: 221.2 kB / 413.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.015e-05/0.0146, allocations: 85.31 kB / 413.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.324e-05/0.01464, allocations: 8.719 kB / 413.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.01468, allocations: 12.5 kB / 413.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.01468, allocations: 0 / 413.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of Templates: time 0.00453/0.01921, allocations: 1.279 MB / 415.2 MB, free: 10.88 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.641339600086212]