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.001293/0.001293, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.001428/0.001428, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.497/1.497, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2376/0.2376, allocations: 46.92 MB / 357.8 MB, free: 10.31 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.002157/0.002157, allocations: 63.91 kB / 0.4921 GB, free: 7.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1342, allocations: 66 MB / 0.5565 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003436/0.1376, allocations: 1.698 MB / 0.5582 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1389, allocations: 0.5976 MB / 0.5587 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.1391, allocations: 0 / 0.5587 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.1392, allocations: 11.88 kB / 0.5588 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.1393, allocations: 23.8 kB / 0.5588 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.1397, allocations: 67.81 kB / 0.5588 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.14, allocations: 119.6 kB / 0.559 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.1401, allocations: 25.11 kB / 0.559 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.1403, allocations: 59.78 kB / 0.559 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.1405, allocations: 47.77 kB / 0.5591 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/0.1406, allocations: 12 kB / 0.5591 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-05/0.1407, allocations: 16 kB / 0.5591 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/0.1407, allocations: 27.92 kB / 0.5591 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.1408, allocations: 59.66 kB / 0.5592 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.1411, allocations: 123.5 kB / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1411, allocations: 0 / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1411, allocations: 0 / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1412, allocations: 0 / 0.5593 GB, free: 2.449 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.001096/0.1422, allocations: 426.8 kB / 0.5597 GB, free: 1.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1423, allocations: 12.03 kB / 0.5597 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003207/0.1426, allocations: 24.88 kB / 0.5598 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.143, allocations: 212.7 kB / 0.56 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.143, allocations: 12.31 kB / 0.56 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.143, allocations: 12.12 kB / 0.56 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.1433, allocations: 91.19 kB / 0.5601 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.1433, allocations: 4 kB / 0.5601 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.1433, allocations: 0 / 0.5601 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1433, allocations: 8 kB / 0.5601 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.1435, allocations: 43.97 kB / 0.5601 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009209/0.1444, allocations: 392.5 kB / 0.5605 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.1446, allocations: 54.58 kB / 0.5605 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.1448, allocations: 28.86 kB / 0.5606 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.1448, allocations: 15.95 kB / 0.5606 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/0.1451, allocations: 95.34 kB / 0.5607 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.1451, allocations: 0 / 0.5607 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005084/0.1456, allocations: 125.8 kB / 0.5608 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.1456, allocations: 63.41 kB / 0.5609 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.1459, allocations: 144.2 kB / 0.561 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.1459, allocations: 33.64 kB / 0.561 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.146, allocations: 112.1 kB / 0.5611 GB, free: 388 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.1461, allocations: 19.86 kB / 0.5612 GB, free: 368 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.625e-05/0.1462, allocations: 33.7 kB / 0.5612 GB, free: 328 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1464, allocations: 318.8 kB / 0.5615 GB, free: 0 / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.1465, allocations: 32.03 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.1468, allocations: 87.58 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.1471, allocations: 123.5 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1471, allocations: 0 / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004305/0.1475, allocations: 153.4 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.1475, allocations: 7.938 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1475, allocations: 4 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1476, allocations: 0 / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.1477, allocations: 23.98 kB / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1478, allocations: 7.938 kB / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.1479, allocations: 7.953 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.1479, allocations: 8.219 kB / 0.5619 GB, free: 15.49 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.0001718/0.1481, allocations: 133.4 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.1481, allocations: 11.89 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.1482, allocations: 12.72 kB / 0.5621 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1482, allocations: 0 / 0.5621 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/0.1482, allocations: 4 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1482, allocations: 0 / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.1485, allocations: 217.5 kB / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1485, allocations: 3.984 kB / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.1486, allocations: 12 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.1486, allocations: 3.938 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.1486, allocations: 7.984 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1486, allocations: 0 / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1486, allocations: 3.938 kB / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.1492, allocations: 168.9 kB / 0.5625 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.842e-05/0.1493, allocations: 89.03 kB / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.1493, allocations: 64 / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.34e-05/0.1494, allocations: 12.09 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.1495, allocations: 11.92 kB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.1495, allocations: 0 / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.1496, allocations: 118.1 kB / 0.5627 GB, free: 14.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1496, allocations: 0 / 0.5627 GB, free: 14.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003993/0.15, allocations: 16 kB / 0.5627 GB, free: 14.59 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.0002068/0.1502, allocations: 95.25 kB / 0.5628 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000323/0.1505, allocations: 79.83 kB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1505, allocations: 0 / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1507, allocations: 35.92 kB / 0.5629 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.151, allocations: 19.92 kB / 0.5629 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008186/0.1518, allocations: 287.1 kB / 0.5632 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.1523, allocations: 0.7161 MB / 0.5639 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.1524, allocations: 11.44 kB / 0.5639 GB, free: 13.29 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1524, allocations: 0 / 0.5639 GB, free: 13.29 MB / 430.1 MB Notification: Performance of Templates: time 0.005577/0.1579, allocations: 1.438 MB / 0.5653 GB, free: 11.85 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/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_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.659138076007366]