Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001293/0.001296, allocations: 122.6 kB / 18.46 MB, free: 4.59 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.001508/0.001508, allocations: 207.3 kB / 21.4 MB, free: 1.645 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.638/1.638, allocations: 227.4 MB / 251.7 MB, free: 76 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2443/0.2443, allocations: 46.16 MB / 351.1 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003185/0.003185, allocations: 78.2 kB / 490.2 MB, free: 27.87 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1524, allocations: 62.45 MB / 0.5397 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003976/0.1565, allocations: 1.694 MB / 0.5413 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1579, allocations: 0.5882 MB / 0.5419 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.158, allocations: 0 / 0.5419 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.1582, allocations: 11.86 kB / 0.5419 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.342e-05/0.1583, allocations: 19.8 kB / 0.5419 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.1587, allocations: 71.81 kB / 0.542 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.159, allocations: 115.6 kB / 0.5421 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.1592, allocations: 41.09 kB / 0.5421 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.1594, allocations: 51.78 kB / 0.5422 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.1596, allocations: 47.77 kB / 0.5422 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.1596, allocations: 15.98 kB / 0.5423 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.502e-05/0.1597, allocations: 16 kB / 0.5423 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.431e-05/0.1598, allocations: 27.91 kB / 0.5423 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.921e-05/0.1598, allocations: 55.73 kB / 0.5423 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.1601, allocations: 127.4 kB / 0.5425 GB, free: 1.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1602, allocations: 0 / 0.5425 GB, free: 1.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1602, allocations: 4 kB / 0.5425 GB, free: 1.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.1602, allocations: 3.938 kB / 0.5425 GB, free: 1.348 MB / 398.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.0009331/0.1611, allocations: 422.9 kB / 0.5429 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.1612, allocations: 8.031 kB / 0.5429 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002921/0.1615, allocations: 28.88 kB / 0.5429 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.1618, allocations: 215.4 kB / 0.5431 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1618, allocations: 384 / 0.5431 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.1619, allocations: 16.12 kB / 0.5431 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.1621, allocations: 102.9 kB / 0.5432 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.1622, allocations: 0 / 0.5432 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.1622, allocations: 0 / 0.5432 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.1622, allocations: 0 / 0.5432 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.1624, allocations: 59.95 kB / 0.5433 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007632/0.1632, allocations: 388.5 kB / 0.5437 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1633, allocations: 58.55 kB / 0.5437 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.122e-05/0.1634, allocations: 24.98 kB / 0.5437 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.1635, allocations: 4 kB / 0.5437 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.1637, allocations: 103.3 kB / 0.5438 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.1637, allocations: 0 / 0.5438 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004125/0.1641, allocations: 133.5 kB / 0.544 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.1642, allocations: 55.41 kB / 0.544 GB, free: 15.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1644, allocations: 149.8 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.1644, allocations: 25.7 kB / 0.5442 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.1645, allocations: 112 kB / 0.5443 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.1645, allocations: 27.92 kB / 0.5443 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.348e-05/0.1646, allocations: 25.72 kB / 0.5443 GB, free: 15.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1648, allocations: 326.8 kB / 0.5447 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.981e-05/0.1649, allocations: 23.98 kB / 0.5447 GB, free: 14.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.165, allocations: 93.7 kB / 0.5448 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.1652, allocations: 119.6 kB / 0.5449 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1652, allocations: 0 / 0.5449 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003034/0.1656, allocations: 145.4 kB / 0.545 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.1656, allocations: 15.88 kB / 0.545 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1656, allocations: 0 / 0.545 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1656, allocations: 4 kB / 0.545 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.1657, allocations: 19.98 kB / 0.5451 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.1658, allocations: 7.938 kB / 0.5451 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.161e-05/0.1659, allocations: 15.89 kB / 0.5451 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1659, allocations: 11.98 kB / 0.5451 GB, free: 14.39 MB / 414.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.0001248/0.166, allocations: 126 kB / 0.5452 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.166, allocations: 11.89 kB / 0.5452 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.1661, allocations: 12.72 kB / 0.5452 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1661, allocations: 0 / 0.5452 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.1661, allocations: 3.984 kB / 0.5452 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1661, allocations: 0 / 0.5452 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.1663, allocations: 205.6 kB / 0.5454 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1663, allocations: 8 kB / 0.5454 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.525e-05/0.1664, allocations: 15.92 kB / 0.5455 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1665, allocations: 7.938 kB / 0.5455 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1665, allocations: 0 / 0.5455 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.1665, allocations: 4 kB / 0.5455 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1665, allocations: 0 / 0.5455 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.1669, allocations: 168.9 kB / 0.5456 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.1669, allocations: 85 kB / 0.5457 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.167, allocations: 8.031 kB / 0.5457 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.809e-05/0.167, allocations: 11.98 kB / 0.5457 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.1671, allocations: 4 kB / 0.5457 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.1671, allocations: 11.98 kB / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.79e-05/0.1672, allocations: 106.6 kB / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1672, allocations: 0 / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.1674, allocations: 23.94 kB / 0.5459 GB, free: 13.49 MB / 414.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.0001314/0.1676, allocations: 103.4 kB / 0.546 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002428/0.1678, allocations: 83.78 kB / 0.5461 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1678, allocations: 0 / 0.5461 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.742e-05/0.1679, allocations: 35.92 kB / 0.5461 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.1682, allocations: 19.92 kB / 0.5461 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005949/0.1688, allocations: 253.1 kB / 0.5463 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.1692, allocations: 0.7123 MB / 0.547 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.141e-05/0.1692, allocations: 16.41 kB / 0.5471 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.1693, allocations: 15.44 kB / 0.5471 GB, free: 12.2 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1693, allocations: 0 / 0.5471 GB, free: 12.2 MB / 414.1 MB Notification: Performance of Templates: time 0.003971/0.1732, allocations: 0.9989 MB / 0.5481 GB, free: 11.21 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 5.378006098791957]