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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009148/0.0009149, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009125/0.0009126, allocations: 178.7 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.219/1.219, allocations: 205.4 MB / 222.7 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.287/0.287, allocations: 43.55 MB / 314.5 MB, free: 8.922 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004702, allocations: 12 kB / 383.9 MB, free: 8.324 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09993/0.1004, allocations: 58.86 MB / 442.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001767/0.1022, allocations: 1.34 MB / 444.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007989/0.1031, allocations: 0.5351 MB / 444.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.394e-05/0.1031, allocations: 11.88 kB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.856e-05/0.1032, allocations: 7.922 kB / 444.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.123e-05/0.1033, allocations: 11.97 kB / 444.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.1035, allocations: 51.83 kB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.1036, allocations: 59.91 kB / 444.8 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1038, allocations: 31.95 kB / 444.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-05/0.1039, allocations: 35.84 kB / 444.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.069e-05/0.1039, allocations: 39.83 kB / 444.9 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.104, allocations: 4 kB / 444.9 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.588e-05/0.104, allocations: 0 / 444.9 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.104, allocations: 19.86 kB / 444.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.1041, allocations: 45.64 kB / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.986e-05/0.1042, allocations: 72.08 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.1042, allocations: 0 / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1042, allocations: 0 / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.1042, allocations: 0 / 445 MB, free: 11.08 MB / 382.1 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.0005702/0.1048, allocations: 387 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.1048, allocations: 20.02 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.1049, allocations: 11.86 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.1051, allocations: 202.8 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1051, allocations: 4 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.1051, allocations: 12 kB / 445.6 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.1053, allocations: 89.64 kB / 445.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1053, allocations: 0 / 445.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1054, allocations: 4 kB / 445.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1054, allocations: 0 / 445.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.1055, allocations: 59.92 kB / 445.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.106, allocations: 368.5 kB / 446.1 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1061, allocations: 66.55 kB / 446.2 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.1062, allocations: 8.031 kB / 446.2 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.1063, allocations: 95.34 kB / 446.3 MB, free: 9.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.715e-06/0.1063, allocations: 4 kB / 446.3 MB, free: 9.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003003/0.1066, allocations: 129.4 kB / 446.4 MB, free: 9.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.1067, allocations: 59.41 kB / 446.5 MB, free: 9.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.916e-05/0.1068, allocations: 137.5 kB / 446.6 MB, free: 9.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1068, allocations: 33.69 kB / 446.7 MB, free: 9.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.1069, allocations: 104.2 kB / 446.8 MB, free: 9.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.1069, allocations: 27.77 kB / 446.8 MB, free: 9.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.1069, allocations: 8 kB / 446.8 MB, free: 9.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.36e-05/0.107, allocations: 322.8 kB / 447.1 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.548e-05/0.1071, allocations: 23.98 kB / 447.1 MB, free: 8.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.391e-05/0.1072, allocations: 87.66 kB / 447.2 MB, free: 8.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.92e-05/0.1073, allocations: 35.97 kB / 447.2 MB, free: 8.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1073, allocations: 0 / 447.2 MB, free: 8.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002472/0.1075, allocations: 153.3 kB / 447.4 MB, free: 8.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.1076, allocations: 4 kB / 447.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1076, allocations: 4 kB / 447.4 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1076, allocations: 4 kB / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1077, allocations: 23.92 kB / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1077, allocations: 4.219 kB / 447.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.058e-05/0.1078, allocations: 19.94 kB / 447.5 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.1078, allocations: 4 kB / 447.5 MB, free: 8.371 MB / 382.1 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 8.977e-05/0.1079, allocations: 125.8 kB / 447.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.1079, allocations: 15.84 kB / 447.6 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.108, allocations: 8.719 kB / 447.6 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.108, allocations: 4 kB / 447.6 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.108, allocations: 4 kB / 447.6 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.108, allocations: 4 kB / 447.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.1081, allocations: 209.4 kB / 447.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1081, allocations: 0 / 447.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.634e-05/0.1082, allocations: 19.98 kB / 447.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.1083, allocations: 0 / 447.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1083, allocations: 3.953 kB / 447.8 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1083, allocations: 0 / 447.8 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1083, allocations: 0 / 447.8 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.1086, allocations: 177.2 kB / 448 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.1086, allocations: 85.05 kB / 448.1 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.1087, allocations: 0 / 448.1 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.547e-05/0.1087, allocations: 11.94 kB / 448.1 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.1088, allocations: 11.94 kB / 448.1 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1088, allocations: 11.92 kB / 448.1 MB, free: 7.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.895e-05/0.1089, allocations: 107.3 kB / 448.2 MB, free: 7.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1089, allocations: 0 / 448.2 MB, free: 7.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002088/0.1091, allocations: 16 kB / 448.3 MB, free: 7.48 MB / 382.1 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.0001087/0.1092, allocations: 99.23 kB / 448.4 MB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.1095, allocations: 79.84 kB / 448.4 MB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1095, allocations: 448 / 448.4 MB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1096, allocations: 31.98 kB / 448.5 MB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.1098, allocations: 15.98 kB / 448.5 MB, free: 7.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.1103, allocations: 279.2 kB / 448.8 MB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.1105, allocations: 0.712 MB / 449.5 MB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.515e-05/0.1106, allocations: 8.828 kB / 449.5 MB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.1106, allocations: 15.44 kB / 449.5 MB, free: 6.188 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1106, allocations: 4 kB / 449.5 MB, free: 6.184 MB / 382.1 MB Notification: Performance of Templates: time 0.002837/0.1134, allocations: 0.8042 MB / 450.3 MB, free: 5.379 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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