Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001367/0.001367, allocations: 205.6 kB / 8.538 MB, free: 440 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 225.5 MB / 234.4 MB, free: 9.473 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008931/0.0008931, allocations: 100.2 kB / 286.3 MB, free: 5.668 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1871/0.1871, allocations: 45.14 MB / 383.3 MB, free: 4.707 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 5.971e-06/6.001e-06, allocations: 0 / 452.6 MB, free: 48.29 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 63.23 MB / 0.5038 GB, free: 0.9805 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3583/0.468, allocations: 88.84 MB / 0.5905 GB, free: 14.95 MB / 418.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.4682, allocations: 63.97 kB / 0.5906 GB, free: 14.89 MB / 418.8 MB Notification: Performance of FrontEnd: time 0.01372/0.482, allocations: 4.374 MB / 0.5949 GB, free: 10.53 MB / 418.8 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.482, allocations: 8 kB / 0.5949 GB, free: 10.52 MB / 418.8 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.0005849/0.4826, allocations: 446.1 kB / 0.5953 GB, free: 10.04 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.4827, allocations: 12.03 kB / 0.5953 GB, free: 10.03 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.4828, allocations: 31.81 kB / 0.5953 GB, free: 9.996 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.4831, allocations: 211.4 kB / 0.5955 GB, free: 9.746 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.4831, allocations: 3.906 kB / 0.5955 GB, free: 9.742 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.4832, allocations: 4 kB / 0.5955 GB, free: 9.738 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001424/0.4833, allocations: 59.98 kB / 0.5956 GB, free: 9.68 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.4835, allocations: 116.2 kB / 0.5957 GB, free: 9.551 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4836, allocations: 4 kB / 0.5957 GB, free: 9.547 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.4836, allocations: 0 / 0.5957 GB, free: 9.547 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4836, allocations: 7.906 kB / 0.5957 GB, free: 9.539 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008332/0.4844, allocations: 436.9 kB / 0.5961 GB, free: 9.074 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.4849, allocations: 166.6 kB / 0.5963 GB, free: 8.902 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.485, allocations: 28.84 kB / 0.5963 GB, free: 8.871 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.485, allocations: 16.02 kB / 0.5963 GB, free: 8.855 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4851, allocations: 34.5 kB / 0.5964 GB, free: 8.812 MB / 418.8 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.4851, allocations: 0 / 0.5964 GB, free: 8.812 MB / 418.8 MB Notification: Performance of matching and sorting (n=7): time 0.0002285/0.4853, allocations: 85.81 kB / 0.5965 GB, free: 8.723 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.4854, allocations: 110.8 kB / 0.5966 GB, free: 8.59 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4855, allocations: 129.5 kB / 0.5967 GB, free: 8.453 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.4855, allocations: 25.7 kB / 0.5967 GB, free: 8.422 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.4856, allocations: 104 kB / 0.5968 GB, free: 8.316 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.4856, allocations: 23.64 kB / 0.5968 GB, free: 8.293 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/0.4856, allocations: 0 / 0.5968 GB, free: 8.293 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4857, allocations: 326.7 kB / 0.5971 GB, free: 7.965 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/0.4858, allocations: 20 kB / 0.5972 GB, free: 7.945 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.4859, allocations: 42.58 kB / 0.5972 GB, free: 7.895 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.881e-05/0.4859, allocations: 32.8 kB / 0.5972 GB, free: 7.863 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4859, allocations: 0 / 0.5972 GB, free: 7.863 MB / 418.8 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001554/0.4861, allocations: 85.59 kB / 0.5973 GB, free: 7.773 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.4862, allocations: 97 kB / 0.5974 GB, free: 7.672 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4862, allocations: 0 / 0.5974 GB, free: 7.672 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4862, allocations: 3.984 kB / 0.5974 GB, free: 7.668 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.4864, allocations: 43.97 kB / 0.5974 GB, free: 7.625 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4864, allocations: 3.906 kB / 0.5975 GB, free: 7.621 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.4866, allocations: 39.97 kB / 0.5975 GB, free: 7.582 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.4866, allocations: 7.938 kB / 0.5975 GB, free: 7.574 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.4866, allocations: 8 kB / 0.5975 GB, free: 7.566 MB / 418.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.653e-05/0.4867, allocations: 43.92 kB / 0.5975 GB, free: 7.523 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-06/0.4867, allocations: 0 / 0.5975 GB, free: 7.523 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-06/0.4867, allocations: 0 / 0.5975 GB, free: 7.523 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.4868, allocations: 23.98 kB / 0.5976 GB, free: 7.5 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-06/0.4868, allocations: 0 / 0.5976 GB, free: 7.5 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.99e-05/0.4869, allocations: 23.83 kB / 0.5976 GB, free: 7.477 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.4869, allocations: 4 kB / 0.5976 GB, free: 7.473 MB / 418.8 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 8.296e-05/0.487, allocations: 104.4 kB / 0.5977 GB, free: 7.367 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.4871, allocations: 11.91 kB / 0.5977 GB, free: 7.355 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.801e-05/0.4871, allocations: 12.5 kB / 0.5977 GB, free: 7.332 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4871, allocations: 3.906 kB / 0.5977 GB, free: 7.328 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4871, allocations: 4 kB / 0.5977 GB, free: 7.324 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4872, allocations: 3.984 kB / 0.5977 GB, free: 7.32 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.4874, allocations: 194.1 kB / 0.5979 GB, free: 7.094 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4874, allocations: 0 / 0.5979 GB, free: 7.094 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.4876, allocations: 47.91 kB / 0.598 GB, free: 7.047 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4876, allocations: 0 / 0.598 GB, free: 7.047 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.4876, allocations: 7.891 kB / 0.598 GB, free: 7.039 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4876, allocations: 3.938 kB / 0.598 GB, free: 7.035 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4876, allocations: 0 / 0.598 GB, free: 7.035 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002581/0.4879, allocations: 207.8 kB / 0.5982 GB, free: 6.816 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.4879, allocations: 96.97 kB / 0.5983 GB, free: 6.703 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.488, allocations: 4 kB / 0.5983 GB, free: 6.699 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.4883, allocations: 55.95 kB / 0.5983 GB, free: 6.645 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.4883, allocations: 0 / 0.5983 GB, free: 6.645 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.4884, allocations: 11.98 kB / 0.5983 GB, free: 6.633 MB / 418.8 MB Notification: Performance of sort global known variables: time 5.969e-05/0.4884, allocations: 103.8 kB / 0.5984 GB, free: 6.531 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.0003116/0.4887, allocations: 39.84 kB / 0.5985 GB, free: 6.492 MB / 418.8 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.0001309/0.4889, allocations: 103.1 kB / 0.5986 GB, free: 6.383 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.4891, allocations: 88.77 kB / 0.5987 GB, free: 6.297 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4891, allocations: 0 / 0.5987 GB, free: 6.297 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 6.011e-05/0.4892, allocations: 35.94 kB / 0.5987 GB, free: 6.262 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.4894, allocations: 27.98 kB / 0.5987 GB, free: 6.234 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.4898, allocations: 147.8 kB / 0.5989 GB, free: 6.066 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/0.4902, allocations: 0.7311 MB / 0.5996 GB, free: 5.312 MB / 418.8 MB Notification: Performance of SimCode: time 2.51e-07/0.4902, allocations: 0 / 0.5996 GB, free: 5.312 MB / 418.8 MB Notification: Performance of Templates: time 0.005205/0.4954, allocations: 2.099 MB / 0.6016 GB, free: 3.234 MB / 418.8 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches