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.001381/0.001381, allocations: 175.3 kB / 16.76 MB, free: 5.051 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.721/1.721, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0007542/0.000754, allocations: 93.91 kB / 271.3 MB, free: 8.234 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.3791/0.3791, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.000406, allocations: 12 kB / 432.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1385, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.366/0.5046, allocations: 85.89 MB / 0.5638 GB, free: 124 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.5048, allocations: 63.97 kB / 0.5639 GB, free: 60 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004846/0.5097, allocations: 1.686 MB / 0.5655 GB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5097, allocations: 0 / 0.5655 GB, free: 14.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.5097, allocations: 4 kB / 0.5655 GB, free: 14.39 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.0005109/0.5102, allocations: 395.5 kB / 0.5659 GB, free: 13.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.5103, allocations: 10.98 kB / 0.5659 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.5103, allocations: 16.84 kB / 0.5659 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.5106, allocations: 216 kB / 0.5661 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.5106, allocations: 384 / 0.5661 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.5106, allocations: 13.41 kB / 0.5662 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.5109, allocations: 86.2 kB / 0.5662 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5109, allocations: 8.188 kB / 0.5662 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.5109, allocations: 7.938 kB / 0.5663 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5109, allocations: 0 / 0.5663 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.5111, allocations: 47.97 kB / 0.5663 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.5117, allocations: 374.2 kB / 0.5667 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.5118, allocations: 58.55 kB / 0.5667 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.133e-05/0.5119, allocations: 32.98 kB / 0.5667 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.5119, allocations: 3.938 kB / 0.5667 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.5121, allocations: 106.2 kB / 0.5668 GB, free: 12.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.5121, allocations: 0 / 0.5668 GB, free: 12.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003434/0.5125, allocations: 129.5 kB / 0.567 GB, free: 12.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.5125, allocations: 55.41 kB / 0.567 GB, free: 12.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.5127, allocations: 137.8 kB / 0.5672 GB, free: 12.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.5127, allocations: 29.69 kB / 0.5672 GB, free: 12.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.5128, allocations: 104.3 kB / 0.5673 GB, free: 12.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.5128, allocations: 27.69 kB / 0.5673 GB, free: 12.37 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.5128, allocations: 0 / 0.5673 GB, free: 12.37 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5129, allocations: 326.8 kB / 0.5676 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.104e-05/0.513, allocations: 28.53 kB / 0.5676 GB, free: 12.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.5131, allocations: 90.25 kB / 0.5677 GB, free: 11.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.5133, allocations: 127.6 kB / 0.5679 GB, free: 11.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5133, allocations: 4 kB / 0.5679 GB, free: 11.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002537/0.5136, allocations: 145.3 kB / 0.568 GB, free: 11.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5136, allocations: 8.609 kB / 0.568 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5136, allocations: 7.984 kB / 0.568 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5137, allocations: 5.031 kB / 0.568 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.5138, allocations: 23.98 kB / 0.568 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.5138, allocations: 12.16 kB / 0.5681 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.144e-05/0.5139, allocations: 11.94 kB / 0.5681 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.5139, allocations: 4 kB / 0.5681 GB, free: 11.53 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 () * 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.0001059/0.514, allocations: 122.4 kB / 0.5682 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.514, allocations: 11.89 kB / 0.5682 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/0.5141, allocations: 12.72 kB / 0.5682 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.5141, allocations: 0 / 0.5682 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5141, allocations: 1.312 kB / 0.5682 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.5141, allocations: 7.938 kB / 0.5682 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.5143, allocations: 209.9 kB / 0.5684 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5143, allocations: 0 / 0.5684 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.614e-05/0.5144, allocations: 15.98 kB / 0.5684 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.5144, allocations: 0 / 0.5684 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.5144, allocations: 3.938 kB / 0.5684 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5144, allocations: 0 / 0.5684 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5144, allocations: 0 / 0.5684 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.5148, allocations: 184.8 kB / 0.5686 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.5149, allocations: 83.95 kB / 0.5687 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.5149, allocations: 4 kB / 0.5687 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.436e-05/0.515, allocations: 7.984 kB / 0.5687 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.515, allocations: 4 kB / 0.5687 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.515, allocations: 11.92 kB / 0.5687 GB, free: 10.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.384e-05/0.5151, allocations: 108.1 kB / 0.5688 GB, free: 10.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5151, allocations: 0 / 0.5688 GB, free: 10.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.5153, allocations: 20.12 kB / 0.5688 GB, free: 10.64 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) * 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.0001226/0.5155, allocations: 107.2 kB / 0.5689 GB, free: 10.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.5157, allocations: 80.22 kB / 0.569 GB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5157, allocations: 8 kB / 0.569 GB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.5158, allocations: 39.92 kB / 0.5691 GB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.516, allocations: 15.94 kB / 0.5691 GB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.5166, allocations: 277.3 kB / 0.5693 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.5169, allocations: 0.7042 MB / 0.57 GB, free: 9.375 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.702e-05/0.517, allocations: 12.5 kB / 0.57 GB, free: 9.363 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.517, allocations: 15.7 kB / 0.5701 GB, free: 9.348 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.517, allocations: 4 kB / 0.5701 GB, free: 9.344 MB / 394.7 MB Notification: Performance of Templates: time 0.003189/0.5202, allocations: 0.817 MB / 0.5709 GB, free: 8.543 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/jenkins1/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