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.001035/0.001035, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001545/0.00258, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0007198/0.0007198, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009574/0.001677, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.807/0.807, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1262/0.9332, allocations: 49.5 MB / 220.7 MB, free: 1.367 MB / 218.7 MB " [Timeout remaining time 179] 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.1377/0.1377, allocations: 32.35 MB / 253.8 MB, free: 240 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02172/0.1594, allocations: 12.31 MB / 266.1 MB, free: 3.883 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 4 kB / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.354e-05, allocations: 6.25 kB / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001838/0.001862, allocations: 1.722 MB / 269.1 MB, free: 0.832 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006374/0.002499, allocations: 0.5812 MB / 269.7 MB, free: 248 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.002558, allocations: 4 kB / 269.7 MB, free: 244 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.199e-05/0.00261, allocations: 11.86 kB / 269.7 MB, free: 232 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.438e-05/0.002644, allocations: 19.8 kB / 269.7 MB, free: 212 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.002804, allocations: 55.75 kB / 269.8 MB, free: 156 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.002922, allocations: 103.7 kB / 269.9 MB, free: 52 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.003027, allocations: 27.91 kB / 269.9 MB, free: 24 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.003166, allocations: 83.8 kB / 270 MB, free: 15.94 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.00328, allocations: 27.91 kB / 270 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.003304, allocations: 8 kB / 270 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.437e-05/0.003319, allocations: 8 kB / 270 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.003352, allocations: 19.94 kB / 270 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.003386, allocations: 23.94 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.003499, allocations: 63.75 kB / 270.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.00351, allocations: 8 kB / 270.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003511, allocations: 3.938 kB / 270.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.003518, allocations: 0 / 270.1 MB, free: 15.78 MB / 282.7 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.0005316/0.00405, allocations: 328.1 kB / 270.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.004082, allocations: 8.031 kB / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.004121, allocations: 16.92 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.004271, allocations: 133.6 kB / 270.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.004283, allocations: 8.375 kB / 270.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.004307, allocations: 12.36 kB / 270.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.004422, allocations: 78.91 kB / 270.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.004431, allocations: 192 / 270.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.004439, allocations: 384 / 270.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.004448, allocations: 11.94 kB / 270.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.034e-05/0.004478, allocations: 11.98 kB / 270.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.004775, allocations: 226.9 kB / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.243e-05/0.004847, allocations: 34.56 kB / 271 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.004867, allocations: 12.8 kB / 271 MB, free: 14.83 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.004883, allocations: 0 / 271 MB, free: 14.83 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.005007, allocations: 91.27 kB / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.542e-06/0.005009, allocations: 4 kB / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001393/0.005148, allocations: 73.55 kB / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.005184, allocations: 55.41 kB / 271.2 MB, free: 14.58 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.005331, allocations: 138.6 kB / 271.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.005346, allocations: 33.7 kB / 271.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.00538, allocations: 92.31 kB / 271.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.005407, allocations: 31.78 kB / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.005449, allocations: 29.69 kB / 271.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.538e-05/0.005524, allocations: 322.8 kB / 271.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.005539, allocations: 11.94 kB / 271.9 MB, free: 13.9 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.344e-05/0.005582, allocations: 75.64 kB / 271.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.244e-05/0.005655, allocations: 91.56 kB / 272 MB, free: 13.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.005658, allocations: 4 kB / 272 MB, free: 13.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000102/0.00576, allocations: 105.4 kB / 272.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.005773, allocations: 7.984 kB / 272.1 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.005778, allocations: 4 kB / 272.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.005791, allocations: 0 / 272.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.005897, allocations: 27.98 kB / 272.2 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.005903, allocations: 11.92 kB / 272.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.654e-05/0.00594, allocations: 15.95 kB / 272.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.005946, allocations: 4 kB / 272.2 MB, free: 13.5 MB / 282.7 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 6.985e-05/0.006016, allocations: 116.7 kB / 272.3 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.006032, allocations: 20.05 kB / 272.3 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.006057, allocations: 8.781 kB / 272.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.006059, allocations: 4 kB / 272.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.006061, allocations: 0 / 272.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.006065, allocations: 3.984 kB / 272.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.851e-05/0.006144, allocations: 93.8 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006145, allocations: 0 / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.006194, allocations: 15.92 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.006206, allocations: 11.98 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.006208, allocations: 3.984 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.006218, allocations: 4 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.006223, allocations: 7.984 kB / 272.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006224, allocations: 0 / 272.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.006351, allocations: 101 kB / 272.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.006366, allocations: 3.938 kB / 272.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.716e-05/0.006393, allocations: 4 kB / 272.6 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.006421, allocations: 3.984 kB / 272.6 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.006426, allocations: 8 kB / 272.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.637e-05/0.006453, allocations: 33.34 kB / 272.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006453, allocations: 0 / 272.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001222/0.006575, allocations: 23.95 kB / 272.7 MB, free: 12.99 MB / 282.7 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 8.022e-05/0.006655, allocations: 80.39 kB / 272.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.006762, allocations: 52.77 kB / 272.8 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.006768, allocations: 7.938 kB / 272.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.193e-05/0.00682, allocations: 32.77 kB / 272.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.006947, allocations: 71.39 kB / 272.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009105/0.007858, allocations: 239.8 kB / 273.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.042e-05/0.007888, allocations: 67.2 kB / 273.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.098e-05/0.007919, allocations: 8.5 kB / 273.2 MB, free: 12.37 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.007976, allocations: 63.36 kB / 273.3 MB, free: 12.31 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.007976, allocations: 0 / 273.3 MB, free: 12.31 MB / 282.7 MB Notification: Performance of Templates: time 0.002341/0.01032, allocations: 1.008 MB / 274.3 MB, free: 11.3 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4114447254687548]