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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008835/0.0008836, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB 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: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007968/0.0007968, allocations: 90.14 kB / 261.7 MB, free: 1.613 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.177/0.177, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.777e-05/1.778e-05, allocations: 4 kB / 418.2 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1076, allocations: 58.85 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3766/0.4843, allocations: 85.69 MB / 0.5496 GB, free: 8.984 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.4845, allocations: 69.2 kB / 0.5497 GB, free: 8.953 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008/0.4926, allocations: 2.888 MB / 0.5525 GB, free: 6.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4926, allocations: 0 / 0.5525 GB, free: 6.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.4926, allocations: 4 kB / 0.5525 GB, free: 6.586 MB / 362.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.0005859/0.4932, allocations: 416.7 kB / 0.5529 GB, free: 6.145 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.4933, allocations: 12.88 kB / 0.5529 GB, free: 6.133 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.4933, allocations: 7.906 kB / 0.5529 GB, free: 6.125 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.4936, allocations: 220.8 kB / 0.5531 GB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.4937, allocations: 0 / 0.5531 GB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.4937, allocations: 4 kB / 0.5531 GB, free: 5.875 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.743e-05/0.4938, allocations: 29.94 kB / 0.5532 GB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.4939, allocations: 70.11 kB / 0.5532 GB, free: 5.793 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4939, allocations: 4 kB / 0.5532 GB, free: 5.789 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.494, allocations: 0 / 0.5532 GB, free: 5.789 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.494, allocations: 3.938 kB / 0.5532 GB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005725/0.4946, allocations: 351.7 kB / 0.5536 GB, free: 5.438 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.4947, allocations: 57.22 kB / 0.5536 GB, free: 5.383 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.4947, allocations: 16.23 kB / 0.5536 GB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.4947, allocations: 7.75 kB / 0.5536 GB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.4949, allocations: 62.58 kB / 0.5537 GB, free: 5.297 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.4949, allocations: 0 / 0.5537 GB, free: 5.297 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001959/0.4951, allocations: 75.22 kB / 0.5538 GB, free: 5.227 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.4951, allocations: 55.39 kB / 0.5538 GB, free: 5.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.4952, allocations: 131.4 kB / 0.5539 GB, free: 5.031 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.4952, allocations: 25.7 kB / 0.554 GB, free: 5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.4953, allocations: 95.16 kB / 0.5541 GB, free: 4.906 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.4953, allocations: 26.62 kB / 0.5541 GB, free: 4.887 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.4953, allocations: 0 / 0.5541 GB, free: 4.887 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.494e-05/0.4954, allocations: 318.1 kB / 0.5544 GB, free: 4.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.224e-05/0.4954, allocations: 19 kB / 0.5544 GB, free: 4.559 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.182e-05/0.4955, allocations: 28.72 kB / 0.5544 GB, free: 4.531 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.03e-05/0.4955, allocations: 18.81 kB / 0.5545 GB, free: 4.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4955, allocations: 0 / 0.5545 GB, free: 4.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001049/0.4956, allocations: 75.59 kB / 0.5545 GB, free: 4.449 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4957, allocations: 8 kB / 0.5545 GB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4957, allocations: 0 / 0.5545 GB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.4957, allocations: 3.953 kB / 0.5545 GB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.4958, allocations: 19.92 kB / 0.5546 GB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4958, allocations: 8.031 kB / 0.5546 GB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.106e-05/0.4959, allocations: 16.27 kB / 0.5546 GB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.4959, allocations: 0 / 0.5546 GB, free: 4.395 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,$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.148e-05/0.496, allocations: 111.5 kB / 0.5547 GB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.496, allocations: 11.84 kB / 0.5547 GB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/0.4961, allocations: 15.38 kB / 0.5547 GB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4961, allocations: 4 kB / 0.5547 GB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4961, allocations: 7.953 kB / 0.5547 GB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4961, allocations: 0 / 0.5547 GB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.4963, allocations: 327.6 kB / 0.555 GB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4964, allocations: 4 kB / 0.555 GB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.949e-05/0.4965, allocations: 8 kB / 0.555 GB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4965, allocations: 0 / 0.555 GB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.4965, allocations: 11.36 kB / 0.5551 GB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4965, allocations: 11.89 kB / 0.5551 GB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4965, allocations: 0 / 0.5551 GB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.4967, allocations: 188.4 kB / 0.5553 GB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.4967, allocations: 77.11 kB / 0.5553 GB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.4968, allocations: 4.031 kB / 0.5553 GB, free: 3.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.4969, allocations: 31.97 kB / 0.5554 GB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.497, allocations: 15.92 kB / 0.5554 GB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.497, allocations: 7.438 kB / 0.5554 GB, free: 3.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.065e-05/0.497, allocations: 94.16 kB / 0.5555 GB, free: 3.469 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.497, allocations: 0 / 0.5555 GB, free: 3.469 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002419/0.4973, allocations: 19.84 kB / 0.5555 GB, free: 3.449 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 (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 0.0001219/0.4974, allocations: 99.23 kB / 0.5556 GB, free: 3.344 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.4975, allocations: 53.3 kB / 0.5556 GB, free: 3.309 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4975, allocations: 0 / 0.5556 GB, free: 3.309 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.703e-05/0.4976, allocations: 22.56 kB / 0.5557 GB, free: 3.293 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.4978, allocations: 15.3 kB / 0.5557 GB, free: 3.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.4982, allocations: 128.4 kB / 0.5558 GB, free: 3.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.4983, allocations: 0.7041 MB / 0.5565 GB, free: 2.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.743e-05/0.4984, allocations: 12.66 kB / 0.5565 GB, free: 2.398 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.4984, allocations: 11.44 kB / 0.5565 GB, free: 2.387 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4984, allocations: 0 / 0.5565 GB, free: 2.387 MB / 362.7 MB Notification: Performance of Templates: time 0.003118/0.5016, allocations: 0.9091 MB / 0.5574 GB, free: 1.504 MB / 362.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