Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2474/0.2474, allocations: 46.92 MB / 357.1 MB, free: 10.32 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 63.91 kB / 0.4914 GB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1483, allocations: 66 MB / 0.5558 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003432/0.1518, allocations: 1.694 MB / 0.5575 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.153, allocations: 0.586 MB / 0.5581 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.557e-05/0.1531, allocations: 11.81 kB / 0.5581 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.1532, allocations: 11.88 kB / 0.5581 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.391e-05/0.1533, allocations: 27.78 kB / 0.5581 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.1536, allocations: 67.81 kB / 0.5582 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.1538, allocations: 107.7 kB / 0.5583 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.154, allocations: 29.09 kB / 0.5583 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.1541, allocations: 59.78 kB / 0.5584 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.1543, allocations: 51.75 kB / 0.5584 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.1543, allocations: 12 kB / 0.5584 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.891e-05/0.1544, allocations: 12 kB / 0.5584 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.1544, allocations: 27.92 kB / 0.5585 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.293e-05/0.1545, allocations: 51.73 kB / 0.5585 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.1548, allocations: 131.4 kB / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1548, allocations: 0 / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1548, allocations: 0 / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.1548, allocations: 4 kB / 0.5586 GB, free: 2.48 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.0008356/0.1556, allocations: 426.8 kB / 0.5591 GB, free: 2.016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1557, allocations: 8.031 kB / 0.5591 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.1559, allocations: 28.88 kB / 0.5591 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.1562, allocations: 214 kB / 0.5593 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1562, allocations: 4.375 kB / 0.5593 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.1562, allocations: 20.06 kB / 0.5593 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.1565, allocations: 95.33 kB / 0.5594 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1565, allocations: 0 / 0.5594 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.1565, allocations: 0 / 0.5594 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1565, allocations: 0 / 0.5594 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.1567, allocations: 51.97 kB / 0.5595 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006845/0.1574, allocations: 392.5 kB / 0.5598 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.1575, allocations: 46.56 kB / 0.5599 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.584e-05/0.1576, allocations: 32.98 kB / 0.5599 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.1576, allocations: 3.938 kB / 0.5599 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.1578, allocations: 99.28 kB / 0.56 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/0.1578, allocations: 4 kB / 0.56 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004347/0.1583, allocations: 133.4 kB / 0.5601 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.1583, allocations: 59.41 kB / 0.5602 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.1585, allocations: 143.9 kB / 0.5603 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.1585, allocations: 33.7 kB / 0.5604 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.373e-05/0.1586, allocations: 116.1 kB / 0.5605 GB, free: 420 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.1586, allocations: 19.86 kB / 0.5605 GB, free: 400 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/0.1587, allocations: 29.7 kB / 0.5605 GB, free: 364 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1589, allocations: 322.8 kB / 0.5608 GB, free: 32 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.528e-05/0.159, allocations: 27.98 kB / 0.5609 GB, free: 4 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.1591, allocations: 91.73 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.1593, allocations: 123.6 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1593, allocations: 0 / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003066/0.1596, allocations: 149.4 kB / 0.5612 GB, free: 15.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.1597, allocations: 13.81 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1597, allocations: 3.984 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.1597, allocations: 4 kB / 0.5612 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1598, allocations: 23.98 kB / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.1598, allocations: 3.938 kB / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/0.1599, allocations: 11.95 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.1599, allocations: 8 kB / 0.5613 GB, free: 15.52 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.000135/0.1601, allocations: 134.3 kB / 0.5614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.1601, allocations: 11.89 kB / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.1601, allocations: 12.72 kB / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1601, allocations: 0 / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1601, allocations: 0 / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1602, allocations: 0 / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.1604, allocations: 209.5 kB / 0.5616 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1604, allocations: 3.938 kB / 0.5616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.1605, allocations: 11.98 kB / 0.5616 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1605, allocations: 7.938 kB / 0.5616 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.1605, allocations: 8 kB / 0.5616 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1605, allocations: 0 / 0.5616 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1605, allocations: 0 / 0.5616 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.1609, allocations: 177.2 kB / 0.5618 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.161, allocations: 93.02 kB / 0.5619 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.161, allocations: 0 / 0.5619 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.1611, allocations: 12.06 kB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.1611, allocations: 3.984 kB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.1611, allocations: 4 kB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1612, allocations: 118.1 kB / 0.562 GB, free: 14.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1612, allocations: 0 / 0.562 GB, free: 14.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.1615, allocations: 16 kB / 0.5621 GB, free: 14.62 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.0001137/0.1616, allocations: 95.25 kB / 0.5621 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.1619, allocations: 84 kB / 0.5622 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1619, allocations: 0 / 0.5622 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.162, allocations: 35.92 kB / 0.5623 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.1622, allocations: 11.94 kB / 0.5623 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.1627, allocations: 269.1 kB / 0.5625 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.1631, allocations: 0.7123 MB / 0.5632 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.456e-05/0.1632, allocations: 12.36 kB / 0.5632 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.1632, allocations: 15.44 kB / 0.5632 GB, free: 13.33 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1632, allocations: 0 / 0.5632 GB, free: 13.33 MB / 430.1 MB Notification: Performance of Templates: time 0.004158/0.1674, allocations: 1.008 MB / 0.5642 GB, free: 12.33 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.416857864707708]