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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002164/0.002164, allocations: 183.9 kB / 24.51 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 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.2302/0.2302, allocations: 44.92 MB / 353.5 MB, free: 11.81 MB / 286.1 MB
"
[Timeout remaining time 180]
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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002073/0.002073, allocations: 75.89 kB / 497.7 MB, free: 0.9922 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.4001, allocations: 64.27 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003576/0.4037, allocations: 1.654 MB / 0.5504 GB, free: 11.86 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001257/0.4049, allocations: 0.5676 MB / 0.551 GB, free: 11.41 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.405, allocations: 5.25 kB / 0.551 GB, free: 11.4 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.4052, allocations: 13.2 kB / 0.551 GB, free: 11.39 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 6.72e-05/0.4053, allocations: 13.34 kB / 0.551 GB, free: 11.38 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.4057, allocations: 96.66 kB / 0.5511 GB, free: 11.31 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002231/0.406, allocations: 113.6 kB / 0.5512 GB, free: 11.24 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.4061, allocations: 28.47 kB / 0.5512 GB, free: 11.23 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.4062, allocations: 54.09 kB / 0.5513 GB, free: 11.19 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.458e-05/0.4063, allocations: 35.53 kB / 0.5513 GB, free: 11.16 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.4063, allocations: 12.81 kB / 0.5513 GB, free: 11.16 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.146e-05/0.4063, allocations: 7.656 kB / 0.5513 GB, free: 11.16 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.4064, allocations: 26.88 kB / 0.5514 GB, free: 11.14 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.493e-05/0.4065, allocations: 36.2 kB / 0.5514 GB, free: 11.11 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.4067, allocations: 87.55 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4067, allocations: 0 / 0.5515 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.134e-06/0.4067, allocations: 1.25 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.933e-06/0.4067, allocations: 0 / 0.5515 GB, free: 11.05 MB / 398.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.00103/0.4077, allocations: 354.9 kB / 0.5518 GB, free: 10.71 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.4078, allocations: 14.31 kB / 0.5518 GB, free: 10.71 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.4078, allocations: 14.47 kB / 0.5518 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.4082, allocations: 148.5 kB / 0.552 GB, free: 10.54 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.4082, allocations: 6.719 kB / 0.552 GB, free: 10.54 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.4082, allocations: 6.094 kB / 0.552 GB, free: 10.54 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.4086, allocations: 108.8 kB / 0.5521 GB, free: 10.46 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4086, allocations: 0 / 0.5521 GB, free: 10.46 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.4086, allocations: 5.25 kB / 0.5521 GB, free: 10.46 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4086, allocations: 1.344 kB / 0.5521 GB, free: 10.46 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.4088, allocations: 49.86 kB / 0.5521 GB, free: 10.44 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007802/0.4096, allocations: 358.3 kB / 0.5525 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.4099, allocations: 98.64 kB / 0.5526 GB, free: 10.05 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.4101, allocations: 38.41 kB / 0.5526 GB, free: 10.03 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.4101, allocations: 1.156 kB / 0.5526 GB, free: 10.03 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.4104, allocations: 108.1 kB / 0.5527 GB, free: 9.945 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.4104, allocations: 0 / 0.5527 GB, free: 9.945 MB / 398.1 MB
Notification: Performance of matching and sorting (n=7): time 0.0005022/0.4109, allocations: 139.1 kB / 0.5529 GB, free: 9.871 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.4109, allocations: 57.62 kB / 0.5529 GB, free: 9.805 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.4112, allocations: 152.6 kB / 0.5531 GB, free: 9.676 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.4112, allocations: 30.86 kB / 0.5531 GB, free: 9.641 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/0.4113, allocations: 100.6 kB / 0.5532 GB, free: 9.543 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.4113, allocations: 14.42 kB / 0.5532 GB, free: 9.531 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.4114, allocations: 29.77 kB / 0.5532 GB, free: 9.504 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001737/0.4116, allocations: 320.9 kB / 0.5535 GB, free: 9.184 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.4117, allocations: 37.58 kB / 0.5536 GB, free: 9.168 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.4118, allocations: 53.12 kB / 0.5536 GB, free: 9.133 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.4121, allocations: 77.2 kB / 0.5537 GB, free: 9.09 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4121, allocations: 0 / 0.5537 GB, free: 9.09 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003235/0.4124, allocations: 121.4 kB / 0.5538 GB, free: 9.02 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4124, allocations: 13.34 kB / 0.5538 GB, free: 9.012 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4124, allocations: 5.125 kB / 0.5538 GB, free: 9.008 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.4124, allocations: 1.25 kB / 0.5538 GB, free: 9.008 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.4126, allocations: 19.2 kB / 0.5538 GB, free: 9 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.4126, allocations: 9.031 kB / 0.5539 GB, free: 8.992 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.4127, allocations: 17.58 kB / 0.5539 GB, free: 8.984 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.4127, allocations: 2.219 kB / 0.5539 GB, free: 8.984 MB / 398.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.0001282/0.4128, allocations: 126.2 kB / 0.554 GB, free: 8.859 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.4128, allocations: 15.95 kB / 0.554 GB, free: 8.848 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.4129, allocations: 20.27 kB / 0.554 GB, free: 8.828 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4129, allocations: 0 / 0.554 GB, free: 8.828 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4129, allocations: 1.125 kB / 0.554 GB, free: 8.828 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4129, allocations: 0 / 0.554 GB, free: 8.828 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.4135, allocations: 369.4 kB / 0.5544 GB, free: 8.484 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4135, allocations: 0 / 0.5544 GB, free: 8.484 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.483e-05/0.4136, allocations: 12.95 kB / 0.5544 GB, free: 8.48 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4136, allocations: 1.125 kB / 0.5544 GB, free: 8.48 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.4137, allocations: 1.125 kB / 0.5544 GB, free: 8.48 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4137, allocations: 0 / 0.5544 GB, free: 8.48 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4137, allocations: 1.188 kB / 0.5544 GB, free: 8.48 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.4142, allocations: 257.9 kB / 0.5546 GB, free: 8.285 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.4142, allocations: 11.08 kB / 0.5547 GB, free: 8.277 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.4143, allocations: 1.188 kB / 0.5547 GB, free: 8.277 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.4144, allocations: 18.23 kB / 0.5547 GB, free: 8.27 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/0.4145, allocations: 17.84 kB / 0.5547 GB, free: 8.258 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.4145, allocations: 1.938 kB / 0.5547 GB, free: 8.258 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001089/0.4146, allocations: 116.8 kB / 0.5548 GB, free: 8.164 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4146, allocations: 0 / 0.5548 GB, free: 8.164 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002429/0.4148, allocations: 20.33 kB / 0.5548 GB, free: 8.156 MB / 398.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.0001334/0.415, allocations: 95.78 kB / 0.5549 GB, free: 8.066 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003654/0.4153, allocations: 90.06 kB / 0.555 GB, free: 8.027 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4153, allocations: 0 / 0.555 GB, free: 8.027 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.4155, allocations: 38.48 kB / 0.555 GB, free: 8.016 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.4158, allocations: 24.02 kB / 0.5551 GB, free: 8 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000628/0.4165, allocations: 223 kB / 0.5553 GB, free: 7.82 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.4169, allocations: 0.6937 MB / 0.5559 GB, free: 7.117 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 5.298e-05/0.4169, allocations: 18.86 kB / 0.556 GB, free: 7.102 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.417, allocations: 16.41 kB / 0.556 GB, free: 7.09 MB / 398.1 MB
Notification: Performance of SimCode: time 5.01e-07/0.417, allocations: 0 / 0.556 GB, free: 7.09 MB / 398.1 MB
Notification: Performance of Templates: time 0.004769/0.4217, allocations: 1.295 MB / 0.5572 GB, free: 6.445 MB / 398.1 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: 5.243792368099093]