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.001109/0.001108, allocations: 96.14 kB / 15.87 MB, free: 16 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.001231/0.001231, allocations: 202.6 kB / 16.79 MB, free: 6.84 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.671/1.671, allocations: 205.1 MB / 222.6 MB, free: 4.766 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.4256/0.4256, allocations: 43.5 MB / 313.5 MB, free: 8.324 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.002578/0.002579, allocations: 70.55 kB / 382 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1538, allocations: 57.79 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.00357/0.1574, allocations: 1.701 MB / 441.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009749/0.1584, allocations: 0.562 MB / 442.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.853e-05/0.1585, allocations: 4 kB / 442.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.1587, allocations: 11.92 kB / 442.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.829e-05/0.1587, allocations: 19.8 kB / 442.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.159, allocations: 51.89 kB / 442.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.1592, allocations: 95.77 kB / 442.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.1593, allocations: 35.94 kB / 442.3 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.862e-05/0.1594, allocations: 35.86 kB / 442.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.1596, allocations: 55.69 kB / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.1596, allocations: 8 kB / 442.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.88e-05/0.1596, allocations: 4 kB / 442.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.1597, allocations: 19.92 kB / 442.4 MB, free: 12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.442e-05/0.1598, allocations: 43.73 kB / 442.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.1599, allocations: 95.95 kB / 442.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1599, allocations: 0 / 442.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1599, allocations: 0 / 442.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1599, allocations: 0 / 442.5 MB, free: 11.86 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.0007651/0.1607, allocations: 415 kB / 443 MB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1608, allocations: 12.03 kB / 443 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.1608, allocations: 8.844 kB / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.161, allocations: 204.2 kB / 443.2 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1611, allocations: 8.297 kB / 443.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.1611, allocations: 16.28 kB / 443.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.1613, allocations: 85.97 kB / 443.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1614, allocations: 0 / 443.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.1614, allocations: 15.92 kB / 443.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1614, allocations: 0 / 443.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.1615, allocations: 47.97 kB / 443.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.1621, allocations: 364.6 kB / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1623, allocations: 62.58 kB / 443.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/0.1624, allocations: 28.95 kB / 443.8 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1624, allocations: 3.984 kB / 443.8 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.1626, allocations: 95.28 kB / 443.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.1626, allocations: 4 kB / 443.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000369/0.163, allocations: 129.5 kB / 444 MB, free: 10.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.163, allocations: 55.41 kB / 444.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1632, allocations: 137.8 kB / 444.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1632, allocations: 29.7 kB / 444.2 MB, free: 9.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.1633, allocations: 104.2 kB / 444.3 MB, free: 9.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.1633, allocations: 27.61 kB / 444.4 MB, free: 9.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.1634, allocations: 41.7 kB / 444.4 MB, free: 9.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1635, allocations: 314.8 kB / 444.7 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.072e-05/0.1636, allocations: 23.98 kB / 444.7 MB, free: 9.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1637, allocations: 91.58 kB / 444.8 MB, free: 9.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.1639, allocations: 123.6 kB / 444.9 MB, free: 9.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1639, allocations: 4 kB / 444.9 MB, free: 9.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002329/0.1641, allocations: 137.4 kB / 445.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1641, allocations: 7.281 kB / 445.1 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.1641, allocations: 4 kB / 445.1 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1642, allocations: 4 kB / 445.1 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1643, allocations: 23.92 kB / 445.1 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.1643, allocations: 16.09 kB / 445.1 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.471e-05/0.1644, allocations: 12.28 kB / 445.1 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.1644, allocations: 11.98 kB / 445.2 MB, free: 8.973 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 (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 0.0001045/0.1645, allocations: 129.8 kB / 445.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.1645, allocations: 11.91 kB / 445.3 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.1646, allocations: 12.66 kB / 445.3 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1646, allocations: 0 / 445.3 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1646, allocations: 7.938 kB / 445.3 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1646, allocations: 7.984 kB / 445.3 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.1648, allocations: 201.5 kB / 445.5 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1648, allocations: 0 / 445.5 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.771e-05/0.1649, allocations: 15.92 kB / 445.5 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1649, allocations: 0 / 445.5 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.1649, allocations: 8 kB / 445.5 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1649, allocations: 0 / 445.5 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1649, allocations: 7.922 kB / 445.6 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.1653, allocations: 160.9 kB / 445.7 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.1653, allocations: 89.09 kB / 445.8 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.1654, allocations: 4.031 kB / 445.8 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.222e-05/0.1655, allocations: 3.984 kB / 445.8 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.1655, allocations: 11.92 kB / 445.8 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1655, allocations: 12 kB / 445.8 MB, free: 8.211 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.865e-05/0.1656, allocations: 107.2 kB / 445.9 MB, free: 8.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1656, allocations: 0 / 445.9 MB, free: 8.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.1659, allocations: 19.91 kB / 446 MB, free: 8.086 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 (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.0001296/0.166, allocations: 99.31 kB / 446.1 MB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.1662, allocations: 79.83 kB / 446.1 MB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1663, allocations: 0 / 446.1 MB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.976e-05/0.1663, allocations: 35.92 kB / 446.2 MB, free: 7.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.1666, allocations: 8.281 kB / 446.2 MB, free: 7.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006417/0.1672, allocations: 279.2 kB / 446.4 MB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.1676, allocations: 0.7081 MB / 447.2 MB, free: 6.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.964e-05/0.1676, allocations: 8.562 kB / 447.2 MB, free: 6.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.1677, allocations: 15.42 kB / 447.2 MB, free: 6.801 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1677, allocations: 0 / 447.2 MB, free: 6.801 MB / 382.1 MB Notification: Performance of Templates: time 0.003727/0.1714, allocations: 0.8475 MB / 448 MB, free: 5.957 MB / 382.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 -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