Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001381/0.001381, allocations: 75.77 kB / 20.52 MB, free: 1.121 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.001533/0.001533, allocations: 170.1 kB / 23.76 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2395/0.2395, allocations: 32.38 MB / 270.1 MB, free: 2.703 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002967/0.002967, allocations: 67.91 kB / 407.7 MB, free: 5.555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1495, allocations: 61.04 MB / 468.8 MB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003578/0.153, allocations: 1.628 MB / 470.4 MB, free: 6.691 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1543, allocations: 0.5539 MB / 471 MB, free: 6.129 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.1544, allocations: 0 / 471 MB, free: 6.129 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.1545, allocations: 11.86 kB / 471 MB, free: 6.117 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.821e-05/0.1546, allocations: 15.88 kB / 471 MB, free: 6.102 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.155, allocations: 59.81 kB / 471.1 MB, free: 6.043 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.1552, allocations: 103.7 kB / 471.2 MB, free: 5.941 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.1553, allocations: 19.98 kB / 471.2 MB, free: 5.922 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1554, allocations: 55.78 kB / 471.2 MB, free: 5.867 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.1556, allocations: 43.77 kB / 471.3 MB, free: 5.824 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.1556, allocations: 8 kB / 471.3 MB, free: 5.816 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.265e-05/0.1557, allocations: 8 kB / 471.3 MB, free: 5.809 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.1557, allocations: 23.92 kB / 471.3 MB, free: 5.785 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.648e-05/0.1558, allocations: 35.84 kB / 471.3 MB, free: 5.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.156, allocations: 107.5 kB / 471.4 MB, free: 5.645 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.156, allocations: 0 / 471.4 MB, free: 5.645 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.156, allocations: 0 / 471.4 MB, free: 5.645 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.156, allocations: 0 / 471.4 MB, free: 5.645 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008277/0.1568, allocations: 367.5 kB / 471.8 MB, free: 5.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.1569, allocations: 8.031 kB / 471.8 MB, free: 5.242 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.1569, allocations: 8.891 kB / 471.8 MB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.1572, allocations: 142.4 kB / 472 MB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.1572, allocations: 8.375 kB / 472 MB, free: 5.062 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.1572, allocations: 8.359 kB / 472 MB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.1575, allocations: 105.9 kB / 472.1 MB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.1575, allocations: 3.953 kB / 472.1 MB, free: 4.941 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1575, allocations: 4 kB / 472.1 MB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1575, allocations: 4 kB / 472.1 MB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.1577, allocations: 43.97 kB / 472.1 MB, free: 4.891 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.1583, allocations: 292.3 kB / 472.4 MB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1584, allocations: 54.58 kB / 472.5 MB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.308e-05/0.1585, allocations: 28.95 kB / 472.5 MB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1585, allocations: 4 kB / 472.5 MB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.1587, allocations: 103.3 kB / 472.6 MB, free: 4.363 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.1587, allocations: 0 / 472.6 MB, free: 4.363 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.000364/0.1591, allocations: 125.5 kB / 472.7 MB, free: 4.234 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.1591, allocations: 55.41 kB / 472.8 MB, free: 4.168 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.1593, allocations: 141.8 kB / 472.9 MB, free: 4.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.1593, allocations: 25.7 kB / 472.9 MB, free: 3.988 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/0.1594, allocations: 108.3 kB / 473.1 MB, free: 3.879 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.1594, allocations: 27.75 kB / 473.1 MB, free: 3.852 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.585e-05/0.1595, allocations: 37.7 kB / 473.1 MB, free: 3.809 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1597, allocations: 326.8 kB / 473.4 MB, free: 3.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.08e-05/0.1597, allocations: 23.98 kB / 473.5 MB, free: 3.457 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.1599, allocations: 79.72 kB / 473.5 MB, free: 3.352 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.1601, allocations: 123.6 kB / 473.7 MB, free: 3.203 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1601, allocations: 0 / 473.7 MB, free: 3.203 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002763/0.1604, allocations: 141.3 kB / 473.8 MB, free: 3.059 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1604, allocations: 8 kB / 473.8 MB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1604, allocations: 0 / 473.8 MB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.1604, allocations: 7.984 kB / 473.8 MB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.1605, allocations: 28.16 kB / 473.8 MB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.1606, allocations: 11.97 kB / 473.9 MB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.608e-05/0.1606, allocations: 7.938 kB / 473.9 MB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.1606, allocations: 8 kB / 473.9 MB, free: 2.988 MB / 446.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,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * 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.000133/0.1608, allocations: 133.8 kB / 474 MB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.1608, allocations: 7.953 kB / 474 MB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.1608, allocations: 12.77 kB / 474 MB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1608, allocations: 4 kB / 474 MB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1608, allocations: 0 / 474 MB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1609, allocations: 3.938 kB / 474 MB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.161, allocations: 141.2 kB / 474.2 MB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.161, allocations: 0 / 474.2 MB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.1611, allocations: 19.98 kB / 474.2 MB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1611, allocations: 0 / 474.2 MB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1611, allocations: 0 / 474.2 MB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1611, allocations: 0 / 474.2 MB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1611, allocations: 0 / 474.2 MB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.1615, allocations: 177.2 kB / 474.4 MB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.1615, allocations: 15.91 kB / 474.4 MB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.1616, allocations: 8.062 kB / 474.4 MB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.1616, allocations: 8 kB / 474.4 MB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.1617, allocations: 3.984 kB / 474.4 MB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1617, allocations: 4 kB / 474.4 MB, free: 2.402 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.234e-05/0.1618, allocations: 114.9 kB / 474.5 MB, free: 2.293 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1618, allocations: 0 / 474.5 MB, free: 2.293 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.162, allocations: 27.89 kB / 474.5 MB, free: 2.266 MB / 446.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,rootMeanSquare.mean.y) * 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.0001027/0.1621, allocations: 91.25 kB / 474.6 MB, free: 2.168 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.1623, allocations: 83.89 kB / 474.7 MB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1624, allocations: 0 / 474.7 MB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.744e-05/0.1624, allocations: 31.92 kB / 474.7 MB, free: 2.055 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.1626, allocations: 15.88 kB / 474.8 MB, free: 2.039 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005498/0.1632, allocations: 245.1 kB / 475 MB, free: 1.773 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.51e-05/0.1633, allocations: 92.67 kB / 475.1 MB, free: 1.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.855e-05/0.1633, allocations: 8.5 kB / 475.1 MB, free: 1.652 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.1634, allocations: 20.48 kB / 475.1 MB, free: 1.633 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1634, allocations: 0 / 475.1 MB, free: 1.633 MB / 446.1 MB Notification: Performance of Templates: time 0.004179/0.1676, allocations: 0.9331 MB / 476 MB, free: 0.707 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.536032725009136]