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.001688/0.001688, allocations: 107.8 kB / 19.17 MB, free: 3.871 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.002086/0.002086, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.498/1.498, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.2275/0.2275, allocations: 46.89 MB / 358.1 MB, free: 10.52 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: 79.86 kB / 0.4923 GB, free: 8.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1416, allocations: 65.99 MB / 0.5568 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003269/0.1448, allocations: 1.703 MB / 0.5584 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1461, allocations: 0.586 MB / 0.559 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.212e-05/0.1461, allocations: 0 / 0.559 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.1463, allocations: 19.73 kB / 0.559 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.427e-05/0.1463, allocations: 19.86 kB / 0.5591 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.1466, allocations: 67.81 kB / 0.5591 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1468, allocations: 119.6 kB / 0.5592 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.147, allocations: 29.11 kB / 0.5593 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.1472, allocations: 51.78 kB / 0.5593 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1473, allocations: 47.77 kB / 0.5594 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.1473, allocations: 12 kB / 0.5594 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.302e-05/0.1474, allocations: 19.98 kB / 0.5594 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.752e-05/0.1474, allocations: 27.92 kB / 0.5594 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.575e-05/0.1475, allocations: 51.72 kB / 0.5595 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.1477, allocations: 123.5 kB / 0.5596 GB, free: 3.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1477, allocations: 0 / 0.5596 GB, free: 3.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1477, allocations: 0 / 0.5596 GB, free: 3.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1477, allocations: 0 / 0.5596 GB, free: 3.07 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.0008059/0.1485, allocations: 434.9 kB / 0.56 GB, free: 2.598 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1486, allocations: 8.031 kB / 0.56 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.1488, allocations: 28.88 kB / 0.56 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.1491, allocations: 212.7 kB / 0.5602 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.1491, allocations: 8.375 kB / 0.5602 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.1492, allocations: 12.12 kB / 0.5603 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.1494, allocations: 89.64 kB / 0.5603 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1494, allocations: 4 kB / 0.5603 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.1494, allocations: 11.97 kB / 0.5604 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1494, allocations: 0 / 0.5604 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.1496, allocations: 57.31 kB / 0.5604 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006476/0.1502, allocations: 388.5 kB / 0.5608 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.1504, allocations: 50.56 kB / 0.5608 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.406e-05/0.1505, allocations: 32.92 kB / 0.5609 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.1505, allocations: 4 kB / 0.5609 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.1507, allocations: 107.2 kB / 0.561 GB, free: 1.488 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.1507, allocations: 0 / 0.561 GB, free: 1.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003995/0.1511, allocations: 133.5 kB / 0.5611 GB, free: 1.352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.1512, allocations: 59.39 kB / 0.5612 GB, free: 1.281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.1513, allocations: 145.2 kB / 0.5613 GB, free: 1.133 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1513, allocations: 29.7 kB / 0.5613 GB, free: 1.098 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.1514, allocations: 108.2 kB / 0.5614 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.1515, allocations: 27.78 kB / 0.5614 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.1515, allocations: 29.7 kB / 0.5615 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.1517, allocations: 326.8 kB / 0.5618 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.1518, allocations: 27.98 kB / 0.5618 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.1519, allocations: 79.72 kB / 0.5619 GB, free: 476 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.1521, allocations: 119.6 kB / 0.562 GB, free: 328 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1521, allocations: 0 / 0.562 GB, free: 328 kB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002808/0.1524, allocations: 145.4 kB / 0.5621 GB, free: 176 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1524, allocations: 11.94 kB / 0.5622 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1524, allocations: 0 / 0.5622 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1524, allocations: 4 kB / 0.5622 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.1525, allocations: 23.92 kB / 0.5622 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1526, allocations: 4 kB / 0.5622 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.873e-05/0.1526, allocations: 19.88 kB / 0.5622 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.1526, allocations: 8 kB / 0.5622 GB, free: 104 kB / 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.0001464/0.1528, allocations: 131.5 kB / 0.5623 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.1528, allocations: 11.89 kB / 0.5624 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.1529, allocations: 16.8 kB / 0.5624 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1529, allocations: 4.359 kB / 0.5624 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1529, allocations: 0 / 0.5624 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1529, allocations: 0 / 0.5624 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.1531, allocations: 209.5 kB / 0.5626 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1531, allocations: 3.938 kB / 0.5626 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.881e-05/0.1532, allocations: 11.98 kB / 0.5626 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1532, allocations: 7.938 kB / 0.5626 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.1532, allocations: 8 kB / 0.5626 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1532, allocations: 0 / 0.5626 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1532, allocations: 0 / 0.5626 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.1536, allocations: 168.9 kB / 0.5628 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.1536, allocations: 88.94 kB / 0.5628 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.1537, allocations: 8.031 kB / 0.5629 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.451e-05/0.1537, allocations: 8.047 kB / 0.5629 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.1538, allocations: 4 kB / 0.5629 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.1538, allocations: 11.98 kB / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1539, allocations: 107.3 kB / 0.563 GB, free: 15.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1539, allocations: 0 / 0.563 GB, free: 15.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.1541, allocations: 20 kB / 0.563 GB, free: 15.2 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.0001308/0.1542, allocations: 99.23 kB / 0.5631 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1545, allocations: 79.84 kB / 0.5632 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1545, allocations: 0 / 0.5632 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.302e-05/0.1546, allocations: 35.92 kB / 0.5632 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.1548, allocations: 23.84 kB / 0.5632 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005967/0.1554, allocations: 295 kB / 0.5635 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.1558, allocations: 0.7084 MB / 0.5642 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.1558, allocations: 15.44 kB / 0.5642 GB, free: 13.89 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1558, allocations: 0 / 0.5642 GB, free: 13.89 MB / 430.1 MB Notification: Performance of Templates: time 0.003496/0.1593, allocations: 1.43 MB / 0.5656 GB, free: 12.46 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.619408358819783]