Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.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.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare") [: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.0009486/0.0009486, allocations: 186 kB / 7.802 MB, free: 2.445 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.051/1.051, 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.0007585/0.0007585, allocations: 83.81 kB / 261.4 MB, free: 13.55 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.1513/0.1513, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.881e-06/5.901e-06, allocations: 0 / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2051, allocations: 58.84 MB / 476.5 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.3072, allocations: 85.03 MB / 0.5484 GB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.3075, allocations: 59.97 kB / 0.5485 GB, free: 13.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.004641/0.3121, allocations: 1.372 MB / 0.5498 GB, free: 12.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.3122, allocations: 0 / 0.5498 GB, free: 12.52 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004122/0.3126, allocations: 386.1 kB / 0.5502 GB, free: 12.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3126, allocations: 8.031 kB / 0.5502 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.3127, allocations: 11.91 kB / 0.5502 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.3129, allocations: 198.9 kB / 0.5504 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3129, allocations: 3.906 kB / 0.5504 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.313, allocations: 7.984 kB / 0.5504 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001132/0.3131, allocations: 32 kB / 0.5504 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3132, allocations: 82.09 kB / 0.5505 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3133, allocations: 4 kB / 0.5505 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.3133, allocations: 4 kB / 0.5505 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3133, allocations: 0 / 0.5505 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.3137, allocations: 329.1 kB / 0.5508 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.96e-05/0.3138, allocations: 54.5 kB / 0.5509 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.3139, allocations: 28.12 kB / 0.5509 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.3139, allocations: 0 / 0.5509 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.314, allocations: 75.34 kB / 0.551 GB, free: 11.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.314, allocations: 0 / 0.551 GB, free: 11.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001999/0.3142, allocations: 89.52 kB / 0.5511 GB, free: 11.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.3142, allocations: 55.41 kB / 0.5511 GB, free: 11.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.454e-05/0.3143, allocations: 117.2 kB / 0.5512 GB, free: 10.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.3144, allocations: 29.7 kB / 0.5513 GB, free: 10.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.3144, allocations: 92.31 kB / 0.5513 GB, free: 10.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.3145, allocations: 31.56 kB / 0.5514 GB, free: 10.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.3145, allocations: 0 / 0.5514 GB, free: 10.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3146, allocations: 318.8 kB / 0.5517 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.901e-05/0.3147, allocations: 16 kB / 0.5517 GB, free: 10.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.015e-05/0.3147, allocations: 83.66 kB / 0.5518 GB, free: 10.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.13e-05/0.3148, allocations: 27.98 kB / 0.5518 GB, free: 10.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3148, allocations: 0 / 0.5518 GB, free: 10.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000175/0.315, allocations: 113.5 kB / 0.5519 GB, free: 10.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.315, allocations: 7.938 kB / 0.5519 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.315, allocations: 4 kB / 0.5519 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.315, allocations: 7.984 kB / 0.5519 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3152, allocations: 28.12 kB / 0.552 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3152, allocations: 7.922 kB / 0.552 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.327e-05/0.3153, allocations: 11.94 kB / 0.552 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.3153, allocations: 8 kB / 0.552 GB, free: 10.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.mean1.y,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.095e-05/0.3154, allocations: 115.5 kB / 0.5521 GB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.3154, allocations: 7.906 kB / 0.5521 GB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.3154, allocations: 16.48 kB / 0.5521 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3154, allocations: 4 kB / 0.5521 GB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3154, allocations: 0 / 0.5521 GB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3155, allocations: 3.938 kB / 0.5521 GB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.3156, allocations: 174.2 kB / 0.5523 GB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3156, allocations: 0 / 0.5523 GB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3157, allocations: 23.92 kB / 0.5523 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3157, allocations: 0 / 0.5523 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3157, allocations: 0 / 0.5523 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3157, allocations: 4 kB / 0.5523 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3157, allocations: 0 / 0.5523 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002031/0.316, allocations: 147.3 kB / 0.5525 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.316, allocations: 89.02 kB / 0.5525 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.316, allocations: 0 / 0.5525 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.774e-05/0.3161, allocations: 4 kB / 0.5525 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.3162, allocations: 3.984 kB / 0.5525 GB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.3162, allocations: 4 kB / 0.5526 GB, free: 9.398 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.736e-05/0.3162, allocations: 114.7 kB / 0.5527 GB, free: 9.289 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.3164, allocations: 19.94 kB / 0.5527 GB, free: 9.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001436/0.3166, allocations: 107.4 kB / 0.5528 GB, free: 9.156 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.3167, allocations: 55.97 kB / 0.5528 GB, free: 9.102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3167, allocations: 96 / 0.5528 GB, free: 9.102 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/0.3168, allocations: 35.92 kB / 0.5529 GB, free: 9.066 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.317, allocations: 8.438 kB / 0.5529 GB, free: 9.059 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.3174, allocations: 159.8 kB / 0.553 GB, free: 8.875 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.3177, allocations: 0.7231 MB / 0.5537 GB, free: 8.125 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3177, allocations: 0 / 0.5537 GB, free: 8.125 MB / 394.7 MB Notification: Performance of Templates: time 0.002811/0.3205, allocations: 0.9279 MB / 0.5546 GB, free: 7.199 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches