Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001627/0.001627, allocations: 108.3 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001746/0.001746, allocations: 205 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 230.3 MB / 255.2 MB, free: 15.33 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2655/0.2655, allocations: 46.92 MB / 358.2 MB, free: 10.42 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 75.88 kB / 0.4925 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1437, allocations: 66.01 MB / 0.557 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003241/0.1469, allocations: 1.704 MB / 0.5586 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1481, allocations: 0.5859 MB / 0.5592 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.401e-05/0.1481, allocations: 8 kB / 0.5592 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.1482, allocations: 7.875 kB / 0.5592 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.837e-05/0.1483, allocations: 23.78 kB / 0.5592 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.1486, allocations: 67.81 kB / 0.5593 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.1488, allocations: 115.6 kB / 0.5594 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.149, allocations: 25.09 kB / 0.5594 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.1492, allocations: 59.84 kB / 0.5595 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.1493, allocations: 59.69 kB / 0.5595 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.1493, allocations: 8 kB / 0.5596 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.06e-05/0.1494, allocations: 16 kB / 0.5596 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002292/0.1496, allocations: 23.92 kB / 0.5596 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.293e-05/0.1497, allocations: 51.73 kB / 0.5596 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1499, allocations: 123.5 kB / 0.5598 GB, free: 2.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.1499, allocations: 4 kB / 0.5598 GB, free: 2.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1499, allocations: 0 / 0.5598 GB, free: 2.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.15, allocations: 0 / 0.5598 GB, free: 2.652 MB / 414.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.0008569/0.1508, allocations: 434.8 kB / 0.5602 GB, free: 2.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1508, allocations: 8.031 kB / 0.5602 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000244/0.1511, allocations: 24.88 kB / 0.5602 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.1514, allocations: 212.7 kB / 0.5604 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1514, allocations: 8.375 kB / 0.5604 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.1514, allocations: 16.12 kB / 0.5604 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.1517, allocations: 85.64 kB / 0.5605 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.1517, allocations: 11.98 kB / 0.5605 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.1517, allocations: 4 kB / 0.5605 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1517, allocations: 0 / 0.5605 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.1519, allocations: 55.84 kB / 0.5606 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006683/0.1525, allocations: 384.5 kB / 0.561 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1527, allocations: 58.5 kB / 0.561 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.775e-05/0.1528, allocations: 32.92 kB / 0.561 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1528, allocations: 0 / 0.561 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.153, allocations: 95.34 kB / 0.5611 GB, free: 1.086 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.153, allocations: 3.938 kB / 0.5611 GB, free: 1.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004037/0.1534, allocations: 133.5 kB / 0.5613 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.1535, allocations: 55.34 kB / 0.5613 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.1536, allocations: 149.2 kB / 0.5615 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.1536, allocations: 29.7 kB / 0.5615 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.1537, allocations: 112.1 kB / 0.5616 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.1538, allocations: 23.84 kB / 0.5616 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.1538, allocations: 33.7 kB / 0.5616 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.154, allocations: 326.8 kB / 0.562 GB, free: 192 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.897e-05/0.1541, allocations: 27.98 kB / 0.562 GB, free: 164 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.1542, allocations: 85.05 kB / 0.5621 GB, free: 52 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.1544, allocations: 119.6 kB / 0.5622 GB, free: 15.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1544, allocations: 4 kB / 0.5622 GB, free: 15.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002708/0.1547, allocations: 137.4 kB / 0.5623 GB, free: 15.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.1547, allocations: 15.92 kB / 0.5623 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1547, allocations: 0 / 0.5623 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1548, allocations: 4 kB / 0.5623 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.1549, allocations: 27.92 kB / 0.5624 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1549, allocations: 4 kB / 0.5624 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.522e-05/0.155, allocations: 12.17 kB / 0.5624 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.155, allocations: 8 kB / 0.5624 GB, free: 15.69 MB / 430.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.0001282/0.1551, allocations: 126.2 kB / 0.5625 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.1551, allocations: 23.97 kB / 0.5625 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.1552, allocations: 16.7 kB / 0.5625 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1552, allocations: 0 / 0.5625 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1552, allocations: 3.938 kB / 0.5625 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1552, allocations: 0 / 0.5625 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.1554, allocations: 209.5 kB / 0.5627 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1554, allocations: 0 / 0.5627 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.88e-05/0.1555, allocations: 15.98 kB / 0.5628 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1555, allocations: 3.938 kB / 0.5628 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1555, allocations: 0 / 0.5628 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1555, allocations: 4 kB / 0.5628 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1555, allocations: 3.938 kB / 0.5628 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.1559, allocations: 172.9 kB / 0.5629 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.1559, allocations: 88.98 kB / 0.563 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.156, allocations: 4.031 kB / 0.563 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.465e-05/0.156, allocations: 0 / 0.563 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.1561, allocations: 11.98 kB / 0.563 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1561, allocations: 7.938 kB / 0.563 GB, free: 14.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.437e-05/0.1562, allocations: 107.2 kB / 0.5631 GB, free: 14.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1562, allocations: 4 kB / 0.5631 GB, free: 14.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1564, allocations: 20 kB / 0.5632 GB, free: 14.79 MB / 430.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.0001145/0.1566, allocations: 99.31 kB / 0.5633 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.1568, allocations: 75.83 kB / 0.5633 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1568, allocations: 0 / 0.5633 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.532e-05/0.1569, allocations: 31.98 kB / 0.5634 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.1571, allocations: 16.16 kB / 0.5634 GB, free: 14.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006229/0.1577, allocations: 311.1 kB / 0.5637 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.1581, allocations: 0.7041 MB / 0.5644 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.1582, allocations: 15.44 kB / 0.5644 GB, free: 13.48 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1582, allocations: 0 / 0.5644 GB, free: 13.48 MB / 430.1 MB Notification: Performance of Templates: time 0.003494/0.1616, allocations: 1.428 MB / 0.5658 GB, free: 12.05 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.785896339002647]