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.00103/0.00103, allocations: 94.19 kB / 17.35 MB, free: 6.344 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.001351/0.001352, allocations: 168 kB / 18.25 MB, free: 5.508 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.382/1.382, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2096/0.2096, allocations: 44.26 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004752, allocations: 15.92 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1514, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002082/0.1536, allocations: 1.37 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1547, allocations: 0.5144 MB / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1548, allocations: 4 kB / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.155, allocations: 7.875 kB / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.263e-05/0.1551, allocations: 7.938 kB / 474.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.1555, allocations: 55.88 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.1557, allocations: 107.7 kB / 474.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.1558, allocations: 25.41 kB / 474.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.1559, allocations: 43.72 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.1561, allocations: 43.77 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.1561, allocations: 4 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.766e-05/0.1562, allocations: 0 / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.482e-05/0.1562, allocations: 19.92 kB / 474.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.64e-05/0.1563, allocations: 61.5 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1565, allocations: 107.8 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1565, allocations: 0 / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1565, allocations: 0 / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1565, allocations: 0 / 474.6 MB, free: 10.95 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.0007472/0.1573, allocations: 395.1 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1573, allocations: 12.03 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.1574, allocations: 16.83 kB / 475 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.1577, allocations: 204 kB / 475.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.1577, allocations: 8.375 kB / 475.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.1577, allocations: 12.38 kB / 475.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.158, allocations: 93.95 kB / 475.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.158, allocations: 0 / 475.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.158, allocations: 4 kB / 475.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1581, allocations: 4 kB / 475.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.1582, allocations: 55.95 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006848/0.1589, allocations: 388.5 kB / 475.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1591, allocations: 62.5 kB / 475.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.552e-05/0.1592, allocations: 32.98 kB / 475.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1592, allocations: 0 / 475.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.1594, allocations: 103.3 kB / 476 MB, free: 9.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.1594, allocations: 0 / 476 MB, free: 9.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003794/0.1598, allocations: 125.5 kB / 476.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.1599, allocations: 67.7 kB / 476.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.16, allocations: 144.2 kB / 476.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.1601, allocations: 29.7 kB / 476.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.1601, allocations: 115.9 kB / 476.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.1602, allocations: 23.66 kB / 476.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.1602, allocations: 21.7 kB / 476.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1604, allocations: 322.8 kB / 476.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9e-05/0.1605, allocations: 27.98 kB / 476.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1606, allocations: 79.72 kB / 476.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.1608, allocations: 127.6 kB / 477 MB, free: 8.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1608, allocations: 0 / 477 MB, free: 8.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002783/0.1611, allocations: 149.3 kB / 477.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1611, allocations: 7.938 kB / 477.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1611, allocations: 4 kB / 477.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1612, allocations: 3.984 kB / 477.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1613, allocations: 31.88 kB / 477.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.1613, allocations: 7.984 kB / 477.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.491e-05/0.1614, allocations: 11.94 kB / 477.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1614, allocations: 12.19 kB / 477.3 MB, free: 8.023 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 (mean1.y_last,$PRE.mean1.y_last,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y_last,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.1615, allocations: 126.3 kB / 477.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.1616, allocations: 7.906 kB / 477.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.1616, allocations: 12.7 kB / 477.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1616, allocations: 7.938 kB / 477.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1616, allocations: 0 / 477.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1616, allocations: 96 / 477.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.1618, allocations: 213.4 kB / 477.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.1618, allocations: 3.984 kB / 477.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.773e-05/0.1619, allocations: 19.98 kB / 477.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.162, allocations: 0 / 477.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.162, allocations: 0 / 477.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.162, allocations: 7.922 kB / 477.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.162, allocations: 0 / 477.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.1623, allocations: 176.9 kB / 477.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.1624, allocations: 81.02 kB / 477.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.1624, allocations: 4.031 kB / 477.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.1625, allocations: 15.92 kB / 477.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.1626, allocations: 0 / 477.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.1626, allocations: 8.078 kB / 477.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.378e-05/0.1627, allocations: 107.2 kB / 478 MB, free: 7.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1627, allocations: 0 / 478 MB, free: 7.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.1629, allocations: 20 kB / 478.1 MB, free: 7.133 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 (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.0001039/0.163, allocations: 103.2 kB / 478.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.1633, allocations: 83.84 kB / 478.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1633, allocations: 0 / 478.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.887e-05/0.1634, allocations: 32.42 kB / 478.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.1636, allocations: 26.05 kB / 478.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.1642, allocations: 295.2 kB / 478.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.1645, allocations: 0.7083 MB / 479.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.948e-05/0.1645, allocations: 4.562 kB / 479.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.1646, allocations: 19.42 kB / 479.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1646, allocations: 0 / 479.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of Templates: time 0.003445/0.1681, allocations: 0.8385 MB / 480.2 MB, free: 4.98 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches