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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009334/0.000933, allocations: 190.1 kB / 7.808 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.975/0.975, allocations: 205.2 MB / 213.4 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008758/0.0008757, allocations: 95.28 kB / 261.4 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1549/0.1549, allocations: 43.5 MB / 352.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.979e-06/5e-06, allocations: 0 / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.218, allocations: 58.84 MB / 476.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09703/0.315, allocations: 85.61 MB / 0.549 GB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.3153, allocations: 63.97 kB / 0.5491 GB, free: 13.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008151/0.3234, allocations: 2.6 MB / 0.5516 GB, free: 10.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.3235, allocations: 0 / 0.5516 GB, free: 10.7 MB / 394.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.0005314/0.324, allocations: 425.6 kB / 0.552 GB, free: 10.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.3241, allocations: 12.03 kB / 0.552 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.3241, allocations: 7.906 kB / 0.552 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.3244, allocations: 214.8 kB / 0.5522 GB, free: 9.973 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.3244, allocations: 4 kB / 0.5522 GB, free: 9.969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.3244, allocations: 15.89 kB / 0.5522 GB, free: 9.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.475e-05/0.3245, allocations: 28 kB / 0.5523 GB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.3246, allocations: 69.61 kB / 0.5523 GB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.3247, allocations: 0 / 0.5523 GB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3247, allocations: 0 / 0.5523 GB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3247, allocations: 0 / 0.5523 GB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.3252, allocations: 345.1 kB / 0.5527 GB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.91e-05/0.3253, allocations: 58.45 kB / 0.5527 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.3253, allocations: 17.02 kB / 0.5527 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.3253, allocations: 3.984 kB / 0.5527 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.855e-05/0.3254, allocations: 71.38 kB / 0.5528 GB, free: 9.305 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3254, allocations: 0 / 0.5528 GB, free: 9.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001483/0.3256, allocations: 65.59 kB / 0.5529 GB, free: 9.234 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.3256, allocations: 59.31 kB / 0.5529 GB, free: 9.164 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.76e-05/0.3257, allocations: 118.1 kB / 0.553 GB, free: 9.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3257, allocations: 29.7 kB / 0.5531 GB, free: 9.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.3258, allocations: 96.27 kB / 0.5532 GB, free: 8.902 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.3258, allocations: 19.83 kB / 0.5532 GB, free: 8.883 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.3258, allocations: 0 / 0.5532 GB, free: 8.883 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.285e-05/0.3259, allocations: 326.7 kB / 0.5535 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.075e-05/0.3259, allocations: 12 kB / 0.5535 GB, free: 8.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.183e-05/0.326, allocations: 33.72 kB / 0.5535 GB, free: 8.504 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/0.326, allocations: 15.98 kB / 0.5535 GB, free: 8.488 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.326, allocations: 0 / 0.5535 GB, free: 8.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001114/0.3261, allocations: 81.53 kB / 0.5536 GB, free: 8.402 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.3262, allocations: 4 kB / 0.5536 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.3262, allocations: 0 / 0.5536 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.3262, allocations: 4 kB / 0.5536 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3263, allocations: 20.02 kB / 0.5537 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3263, allocations: 3.938 kB / 0.5537 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.678e-05/0.3264, allocations: 19.98 kB / 0.5537 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.3264, allocations: 0 / 0.5537 GB, free: 8.352 MB / 394.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,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.559e-05/0.3265, allocations: 118 kB / 0.5538 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.3265, allocations: 7.906 kB / 0.5538 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.3265, allocations: 8.781 kB / 0.5538 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3266, allocations: 4 kB / 0.5538 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3266, allocations: 0 / 0.5538 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3266, allocations: 7.922 kB / 0.5538 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.3268, allocations: 323 kB / 0.5541 GB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3268, allocations: 0 / 0.5541 GB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-05/0.3269, allocations: 19.98 kB / 0.5541 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.327, allocations: 0 / 0.5541 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.327, allocations: 3.938 kB / 0.5541 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.327, allocations: 4 kB / 0.5541 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.327, allocations: 0 / 0.5541 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001764/0.3272, allocations: 195.3 kB / 0.5543 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.3272, allocations: 93.06 kB / 0.5544 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.3272, allocations: 0 / 0.5544 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.3274, allocations: 19.98 kB / 0.5544 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.3274, allocations: 19.97 kB / 0.5545 GB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3274, allocations: 0 / 0.5545 GB, free: 7.465 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.751e-05/0.3275, allocations: 104.8 kB / 0.5546 GB, free: 7.363 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.3277, allocations: 23.84 kB / 0.5546 GB, free: 7.34 MB / 394.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 (change.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,change.u) * Number of discrete states: 1 (change.u) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.647e-05/0.3278, allocations: 91.25 kB / 0.5547 GB, free: 7.238 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001/0.3279, allocations: 48 kB / 0.5547 GB, free: 7.191 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.3279, allocations: 0 / 0.5547 GB, free: 7.191 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.803e-05/0.328, allocations: 23.94 kB / 0.5547 GB, free: 7.168 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.3282, allocations: 20.44 kB / 0.5548 GB, free: 7.148 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.3285, allocations: 127.6 kB / 0.5549 GB, free: 7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.3287, allocations: 0.7192 MB / 0.5556 GB, free: 6.254 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3288, allocations: 0 / 0.5556 GB, free: 6.254 MB / 394.7 MB Notification: Performance of Templates: time 0.00269/0.3314, allocations: 1.06 MB / 0.5566 GB, free: 5.195 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.makefile (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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches