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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001679/0.001679, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009431/0.0009432, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2155/0.2155, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004016, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1354, allocations: 58.86 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4597/0.5952, allocations: 85.85 MB / 0.5626 GB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.5955, allocations: 63.66 kB / 0.5626 GB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006051/0.6016, allocations: 1.695 MB / 0.5643 GB, free: 12.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.6016, allocations: 4 kB / 0.5643 GB, free: 12.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.6017, allocations: 0 / 0.5643 GB, free: 12.45 MB / 378.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.0006614/0.6023, allocations: 393.5 kB / 0.5647 GB, free: 12.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.6024, allocations: 8.562 kB / 0.5647 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.6025, allocations: 12.31 kB / 0.5647 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.6028, allocations: 215.2 kB / 0.5649 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.6028, allocations: 7.25 kB / 0.5649 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.6028, allocations: 11.03 kB / 0.5649 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.6031, allocations: 91.95 kB / 0.565 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.6031, allocations: 0 / 0.565 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.6031, allocations: 0.875 kB / 0.565 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.6031, allocations: 0 / 0.565 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.6033, allocations: 57.47 kB / 0.5651 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.6038, allocations: 371.2 kB / 0.5654 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.604, allocations: 61.62 kB / 0.5655 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.604, allocations: 4.094 kB / 0.5655 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.6042, allocations: 101 kB / 0.5656 GB, free: 11.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.6042, allocations: 0 / 0.5656 GB, free: 11.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003769/0.6046, allocations: 137.5 kB / 0.5657 GB, free: 10.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.6047, allocations: 55.41 kB / 0.5658 GB, free: 10.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.6048, allocations: 118.3 kB / 0.5659 GB, free: 10.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.6048, allocations: 33.12 kB / 0.5659 GB, free: 10.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.6049, allocations: 102.1 kB / 0.566 GB, free: 10.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.6049, allocations: 26.86 kB / 0.566 GB, free: 10.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.605, allocations: 11.25 kB / 0.566 GB, free: 10.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.6051, allocations: 322.5 kB / 0.5663 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.6052, allocations: 27.17 kB / 0.5664 GB, free: 10.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.6053, allocations: 82.34 kB / 0.5665 GB, free: 10.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.125e-05/0.6054, allocations: 41.78 kB / 0.5665 GB, free: 10.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6054, allocations: 4 kB / 0.5665 GB, free: 10.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002328/0.6056, allocations: 148.7 kB / 0.5666 GB, free: 10.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.6057, allocations: 11.94 kB / 0.5666 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.6057, allocations: 0 / 0.5666 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.6057, allocations: 11.95 kB / 0.5667 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.6058, allocations: 23.98 kB / 0.5667 GB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.6058, allocations: 0 / 0.5667 GB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.97e-05/0.6059, allocations: 11.91 kB / 0.5667 GB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.6059, allocations: 11.22 kB / 0.5667 GB, free: 9.965 MB / 378.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 () * Number of clocked 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 0.0001012/0.606, allocations: 130.8 kB / 0.5668 GB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.6061, allocations: 7.906 kB / 0.5668 GB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.289e-05/0.6061, allocations: 15.34 kB / 0.5669 GB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6062, allocations: 3.953 kB / 0.5669 GB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6062, allocations: 0 / 0.5669 GB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6062, allocations: 0 / 0.5669 GB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.6063, allocations: 205.6 kB / 0.567 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6064, allocations: 0 / 0.567 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.991e-05/0.6065, allocations: 19.98 kB / 0.5671 GB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6065, allocations: 0 / 0.5671 GB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.6065, allocations: 7.375 kB / 0.5671 GB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.6065, allocations: 7.938 kB / 0.5671 GB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6065, allocations: 3.953 kB / 0.5671 GB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.6068, allocations: 170.8 kB / 0.5673 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.6069, allocations: 81.02 kB / 0.5673 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.6069, allocations: 7.531 kB / 0.5673 GB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.441e-05/0.607, allocations: 7.984 kB / 0.5673 GB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.607, allocations: 3.984 kB / 0.5673 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.6071, allocations: 7.953 kB / 0.5674 GB, free: 9.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.941e-05/0.6071, allocations: 107 kB / 0.5675 GB, free: 9.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6071, allocations: 0 / 0.5675 GB, free: 9.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002662/0.6074, allocations: 27.53 kB / 0.5675 GB, free: 9.145 MB / 378.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) * Number of clocked states: 0 () * 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.0001762/0.6076, allocations: 114.5 kB / 0.5676 GB, free: 9.027 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002958/0.6079, allocations: 77.72 kB / 0.5677 GB, free: 8.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6079, allocations: 3.938 kB / 0.5677 GB, free: 8.961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.742e-05/0.608, allocations: 43.34 kB / 0.5677 GB, free: 8.926 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.6082, allocations: 13.62 kB / 0.5677 GB, free: 8.918 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/0.6087, allocations: 266.3 kB / 0.568 GB, free: 8.648 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.609, allocations: 0.7081 MB / 0.5687 GB, free: 7.914 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.209e-05/0.6091, allocations: 12.83 kB / 0.5687 GB, free: 7.898 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.6091, allocations: 11.72 kB / 0.5687 GB, free: 7.887 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6091, allocations: 0 / 0.5687 GB, free: 7.887 MB / 378.7 MB Notification: Performance of Templates: time 0.002989/0.6121, allocations: 0.8345 MB / 0.5695 GB, free: 7.066 MB / 378.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