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.001295/0.001295, allocations: 115.4 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 195 kB / 17.97 MB, free: 5.027 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.568/1.568, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2472/0.2472, allocations: 43.53 MB / 314.7 MB, free: 484 kB / 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.001833/0.001834, allocations: 71.67 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1476, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003069/0.1507, allocations: 1.647 MB / 443.6 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1518, allocations: 0.5697 MB / 444.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.1519, allocations: 0 / 444.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.152, allocations: 11.86 kB / 444.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.1521, allocations: 23.81 kB / 444.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.1524, allocations: 51.88 kB / 444.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.1526, allocations: 111.6 kB / 444.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.1528, allocations: 31.98 kB / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1529, allocations: 35.91 kB / 444.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.153, allocations: 47.77 kB / 444.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.1531, allocations: 16 kB / 444.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.842e-05/0.1531, allocations: 8 kB / 444.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.1531, allocations: 23.92 kB / 444.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.1532, allocations: 55.66 kB / 444.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.1534, allocations: 103.6 kB / 444.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1534, allocations: 0 / 444.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1534, allocations: 0 / 444.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1534, allocations: 0 / 444.7 MB, free: 3.406 MB / 318.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.0008047/0.1542, allocations: 411 kB / 445.1 MB, free: 2.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1543, allocations: 11.89 kB / 445.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.1543, allocations: 16.84 kB / 445.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.1546, allocations: 209.3 kB / 445.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1546, allocations: 12.25 kB / 445.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.1547, allocations: 12.36 kB / 445.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.1549, allocations: 89.95 kB / 445.4 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.1549, allocations: 0 / 445.4 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.155, allocations: 8 kB / 445.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.155, allocations: 4 kB / 445.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.1551, allocations: 43.97 kB / 445.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.1556, allocations: 364.6 kB / 445.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.1558, allocations: 58.55 kB / 445.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.1558, allocations: 28.98 kB / 445.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.1559, allocations: 0 / 445.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.1561, allocations: 99.28 kB / 446 MB, free: 1.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.405e-06/0.1561, allocations: 0 / 446 MB, free: 1.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003372/0.1564, allocations: 133.4 kB / 446.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.1564, allocations: 59.39 kB / 446.2 MB, free: 1.695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.302e-05/0.1565, allocations: 142.8 kB / 446.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1566, allocations: 29.7 kB / 446.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.1566, allocations: 104.3 kB / 446.5 MB, free: 1.406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.1567, allocations: 23.56 kB / 446.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.1567, allocations: 33.7 kB / 446.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.1568, allocations: 326.8 kB / 446.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.632e-05/0.1569, allocations: 23.98 kB / 446.9 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-05/0.1569, allocations: 83.66 kB / 447 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.1571, allocations: 119.6 kB / 447.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1571, allocations: 4 kB / 447.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002317/0.1573, allocations: 137.4 kB / 447.2 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1574, allocations: 14.95 kB / 447.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1574, allocations: 384 / 447.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1574, allocations: 4 kB / 447.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1575, allocations: 23.98 kB / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1576, allocations: 7.875 kB / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.422e-05/0.1576, allocations: 15.84 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1577, allocations: 8.219 kB / 447.3 MB, free: 0.5234 MB / 318.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 (mean1.y,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.92e-05/0.1578, allocations: 133.8 kB / 447.4 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.1578, allocations: 15.88 kB / 447.4 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.1578, allocations: 12.72 kB / 447.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1579, allocations: 0 / 447.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.1579, allocations: 3.938 kB / 447.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1579, allocations: 0 / 447.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.158, allocations: 201.6 kB / 447.7 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.158, allocations: 0 / 447.7 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.743e-05/0.1581, allocations: 19.92 kB / 447.7 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1581, allocations: 4 kB / 447.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.1582, allocations: 0 / 447.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1582, allocations: 0 / 447.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1582, allocations: 7.938 kB / 447.7 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.1585, allocations: 164.9 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.1586, allocations: 88.98 kB / 447.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1586, allocations: 8.062 kB / 447.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.1587, allocations: 7.984 kB / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.1588, allocations: 7.938 kB / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.1588, allocations: 3.984 kB / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.1589, allocations: 111.2 kB / 448.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1589, allocations: 0 / 448.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.1592, allocations: 16 kB / 448.1 MB, free: 15.63 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001267/0.1593, allocations: 99.23 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.1595, allocations: 79.84 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.1596, allocations: 4 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.371e-05/0.1597, allocations: 35.95 kB / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1599, allocations: 11.98 kB / 448.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.1605, allocations: 245.4 kB / 448.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.1608, allocations: 0.7045 MB / 449.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.136e-05/0.1609, allocations: 12.55 kB / 449.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.1609, allocations: 11.44 kB / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1609, allocations: 0 / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of Templates: time 0.004128/0.1651, allocations: 0.9291 MB / 450.2 MB, free: 13.45 MB / 334.1 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches