Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.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.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") [: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.0008874/0.0008874, allocations: 192.9 kB / 7.805 MB, free: 2.438 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.021/1.021, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0007895/0.0007896, allocations: 91.38 kB / 261.4 MB, free: 13.61 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.1514/0.1514, allocations: 43.49 MB / 352.8 MB, free: 2.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.5e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2068, allocations: 58.85 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09933/0.3062, allocations: 86.74 MB / 0.5501 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/0.3064, allocations: 63.48 kB / 0.5502 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0123/0.3187, allocations: 4.253 MB / 0.5543 GB, free: 7.973 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.3188, allocations: 7.938 kB / 0.5543 GB, free: 7.965 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005206/0.3193, allocations: 450 kB / 0.5547 GB, free: 7.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3194, allocations: 8.031 kB / 0.5548 GB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.3194, allocations: 15.81 kB / 0.5548 GB, free: 7.457 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.3197, allocations: 225.5 kB / 0.555 GB, free: 7.199 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3197, allocations: 4 kB / 0.555 GB, free: 7.195 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.3197, allocations: 4 kB / 0.555 GB, free: 7.191 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001314/0.3199, allocations: 59.98 kB / 0.555 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3201, allocations: 124.1 kB / 0.5552 GB, free: 6.996 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3201, allocations: 0 / 0.5552 GB, free: 6.996 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.3201, allocations: 0 / 0.5552 GB, free: 6.996 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3201, allocations: 4 kB / 0.5552 GB, free: 6.992 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.3209, allocations: 448.9 kB / 0.5556 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/0.3213, allocations: 174.6 kB / 0.5558 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.3213, allocations: 24.86 kB / 0.5558 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.3214, allocations: 3.938 kB / 0.5558 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.3214, allocations: 38.56 kB / 0.5558 GB, free: 6.258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.3214, allocations: 0 / 0.5558 GB, free: 6.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002169/0.3216, allocations: 77.59 kB / 0.5559 GB, free: 6.176 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.3217, allocations: 114.8 kB / 0.556 GB, free: 6.039 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/0.3218, allocations: 134.6 kB / 0.5561 GB, free: 5.902 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.3218, allocations: 29.64 kB / 0.5562 GB, free: 5.867 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.3219, allocations: 103.9 kB / 0.5563 GB, free: 5.762 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.3219, allocations: 19.72 kB / 0.5563 GB, free: 5.742 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-06/0.3219, allocations: 0 / 0.5563 GB, free: 5.742 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.322, allocations: 322.8 kB / 0.5566 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-05/0.3221, allocations: 20 kB / 0.5566 GB, free: 5.398 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.3221, allocations: 50.56 kB / 0.5567 GB, free: 5.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.363e-05/0.3222, allocations: 23.98 kB / 0.5567 GB, free: 5.316 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3222, allocations: 0 / 0.5567 GB, free: 5.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001489/0.3223, allocations: 93.64 kB / 0.5568 GB, free: 5.219 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.3224, allocations: 97 kB / 0.5569 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.3224, allocations: 0 / 0.5569 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3224, allocations: 0 / 0.5569 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.3226, allocations: 47.94 kB / 0.5569 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.3226, allocations: 0 / 0.5569 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.3228, allocations: 51.81 kB / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.3228, allocations: 0 / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.32e-06/0.3228, allocations: 4 kB / 0.557 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.812e-05/0.3229, allocations: 43.98 kB / 0.557 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.02e-07/0.3229, allocations: 0 / 0.557 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-06/0.3229, allocations: 0 / 0.557 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.323, allocations: 19.98 kB / 0.557 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-06/0.323, allocations: 4 kB / 0.557 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.914e-05/0.3231, allocations: 15.98 kB / 0.557 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.3231, allocations: 4 kB / 0.557 GB, free: 4.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.378e-05/0.3232, allocations: 113.7 kB / 0.5572 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.3232, allocations: 19.83 kB / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.3233, allocations: 12.5 kB / 0.5572 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3233, allocations: 4 kB / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3233, allocations: 0 / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3233, allocations: 0 / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.3235, allocations: 206 kB / 0.5574 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3235, allocations: 0 / 0.5574 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.3237, allocations: 43.97 kB / 0.5574 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3237, allocations: 0 / 0.5574 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3237, allocations: 0 / 0.5574 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3237, allocations: 7.938 kB / 0.5574 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3237, allocations: 0 / 0.5574 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002403/0.324, allocations: 227.7 kB / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.324, allocations: 84.92 kB / 0.5577 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.324, allocations: 4 kB / 0.5577 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.3243, allocations: 52.02 kB / 0.5578 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.3244, allocations: 11.98 kB / 0.5578 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.3244, allocations: 8 kB / 0.5578 GB, free: 4.078 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.058e-05/0.3245, allocations: 108.1 kB / 0.5579 GB, free: 3.973 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002967/0.3248, allocations: 39.84 kB / 0.558 GB, free: 3.934 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001069/0.3249, allocations: 103.2 kB / 0.558 GB, free: 3.824 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.3251, allocations: 84.59 kB / 0.5581 GB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3251, allocations: 0 / 0.5581 GB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.148e-05/0.3251, allocations: 35.98 kB / 0.5582 GB, free: 3.707 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.3254, allocations: 23.98 kB / 0.5582 GB, free: 3.684 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.3258, allocations: 155.8 kB / 0.5583 GB, free: 3.504 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.3261, allocations: 0.7354 MB / 0.5591 GB, free: 2.742 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3261, allocations: 0 / 0.5591 GB, free: 2.742 MB / 394.7 MB Notification: Performance of Templates: time 0.004259/0.3304, allocations: 2.132 MB / 0.5611 GB, free: 0.625 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Limiters/Limiters.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches