Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008429/0.0008429, allocations: 98.39 kB / 16.99 MB, free: 6.398 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.0008589/0.0008588, allocations: 184.1 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2598/0.2598, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.151, allocations: 61.93 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002367/0.1534, allocations: 1.335 MB / 472.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1545, allocations: 0.5031 MB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.1547, allocations: 3.938 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.1548, allocations: 3.938 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.273e-05/0.1549, allocations: 19.95 kB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.1553, allocations: 35.89 kB / 473.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.1555, allocations: 71.86 kB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.1557, allocations: 25.33 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.1559, allocations: 39.84 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1561, allocations: 39.78 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.1561, allocations: 0 / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.064e-05/0.1561, allocations: 4 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.1562, allocations: 15.97 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.157e-05/0.1563, allocations: 41.64 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.1564, allocations: 76.12 kB / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1564, allocations: 0 / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1564, allocations: 0 / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.1565, allocations: 0 / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008085/0.1573, allocations: 395 kB / 474 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1573, allocations: 8.562 kB / 474 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.195e-05/0.1574, allocations: 15.91 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.1577, allocations: 206.8 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.1577, allocations: 8 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.1578, allocations: 15.95 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.158, allocations: 85.64 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.1581, allocations: 4 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.1581, allocations: 4 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1581, allocations: 0 / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.1583, allocations: 71.2 kB / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006887/0.159, allocations: 380.5 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.1591, allocations: 70.58 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.1592, allocations: 0 / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.1594, allocations: 99.33 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.815e-06/0.1594, allocations: 4 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003835/0.1598, allocations: 137.4 kB / 475.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.1599, allocations: 55.39 kB / 475.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.16, allocations: 140.3 kB / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.1601, allocations: 29.7 kB / 475.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.1601, allocations: 103.9 kB / 475.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.1602, allocations: 27.7 kB / 475.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.1602, allocations: 8 kB / 475.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1604, allocations: 322.8 kB / 475.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.612e-05/0.1604, allocations: 23.98 kB / 475.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1606, allocations: 87.7 kB / 475.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.183e-05/0.1607, allocations: 39.92 kB / 475.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1607, allocations: 4 kB / 475.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002709/0.1609, allocations: 137.4 kB / 476.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.161, allocations: 8 kB / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.161, allocations: 0 / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.161, allocations: 4 kB / 476.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.1611, allocations: 27.98 kB / 476.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1612, allocations: 4.156 kB / 476.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.508e-05/0.1612, allocations: 27.8 kB / 476.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.1613, allocations: 7.984 kB / 476.2 MB, free: 8.766 MB / 350.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_last,mean1.y_last,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * 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.0001294/0.1614, allocations: 125.8 kB / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.1614, allocations: 7.906 kB / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.1615, allocations: 12.72 kB / 476.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1615, allocations: 0 / 476.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1615, allocations: 0 / 476.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1615, allocations: 4.078 kB / 476.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.1617, allocations: 217.7 kB / 476.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.1617, allocations: 7.969 kB / 476.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.584e-05/0.1618, allocations: 8 kB / 476.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1618, allocations: 0 / 476.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.1619, allocations: 11.92 kB / 476.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1619, allocations: 0 / 476.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1619, allocations: 0 / 476.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.1622, allocations: 185.1 kB / 476.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.1623, allocations: 88.98 kB / 476.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.1623, allocations: 4 kB / 476.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/0.1624, allocations: 4 kB / 476.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.1625, allocations: 7.984 kB / 476.8 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.1625, allocations: 0 / 476.8 MB, free: 8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.398e-05/0.1626, allocations: 109.2 kB / 476.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1626, allocations: 4 kB / 476.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.1628, allocations: 23.91 kB / 477 MB, free: 7.867 MB / 350.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_last,rootMeanSquare.mean.y_last) * 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.0001346/0.163, allocations: 103.2 kB / 477.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.1632, allocations: 79.83 kB / 477.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1632, allocations: 448 / 477.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.388e-05/0.1633, allocations: 39.92 kB / 477.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.1635, allocations: 11.95 kB / 477.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000546/0.164, allocations: 283.4 kB / 477.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.1644, allocations: 0.7043 MB / 478.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.31e-05/0.1644, allocations: 16.48 kB / 478.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.1645, allocations: 11.44 kB / 478.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of SimCode: time 1.854e-06/0.1645, allocations: 4 kB / 478.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of Templates: time 0.003535/0.168, allocations: 0.8143 MB / 479 MB, free: 5.754 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches