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.0009277/0.0009277, allocations: 91.22 kB / 20.42 MB, free: 4.145 MB / 18.57 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.0009742/0.0009742, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 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.05/1.05, allocations: 158.6 MB / 185.7 MB, free: 2.891 MB / 170.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.1378/0.1378, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.813e-06/1.813e-06, allocations: 0 / 347.6 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.804e-05, allocations: 6.25 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001839/0.001857, allocations: 1.682 MB / 349.3 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007289/0.002586, allocations: 0.5657 MB / 349.9 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.485e-05/0.002671, allocations: 0 / 349.9 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.002808, allocations: 15.86 kB / 349.9 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.002856, allocations: 11.88 kB / 349.9 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.00316, allocations: 67.67 kB / 350 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.003291, allocations: 103.6 kB / 350.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.003418, allocations: 27.97 kB / 350.1 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.683e-05/0.003515, allocations: 63.88 kB / 350.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.942e-05/0.003614, allocations: 31.89 kB / 350.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.003641, allocations: 8 kB / 350.2 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.56e-05/0.003656, allocations: 8 kB / 350.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.003701, allocations: 31.84 kB / 350.3 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.00375, allocations: 31.91 kB / 350.3 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.003884, allocations: 71.73 kB / 350.4 MB, free: 6.727 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003887, allocations: 0 / 350.4 MB, free: 6.727 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.003887, allocations: 0 / 350.4 MB, free: 6.727 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.798e-06/0.003891, allocations: 4 kB / 350.4 MB, free: 6.723 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.0004903/0.004381, allocations: 463.5 kB / 350.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.004415, allocations: 12.03 kB / 350.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.004464, allocations: 16.89 kB / 350.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.004607, allocations: 156.3 kB / 351 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.004619, allocations: 4.375 kB / 351 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.00464, allocations: 12.31 kB / 351 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.004776, allocations: 82.91 kB / 351.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.004788, allocations: 4.188 kB / 351.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.0048, allocations: 384 / 351.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.004809, allocations: 7.938 kB / 351.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.56e-05/0.004855, allocations: 19.98 kB / 351.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.005189, allocations: 347.5 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.814e-05/0.005267, allocations: 47.14 kB / 351.5 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.005294, allocations: 15.72 kB / 351.5 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.005308, allocations: 0 / 351.5 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.005416, allocations: 96.95 kB / 351.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 8.71e-07/0.005417, allocations: 0 / 351.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001956/0.005612, allocations: 97.5 kB / 351.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.005644, allocations: 55.41 kB / 351.8 MB, free: 5.152 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.626e-05/0.005711, allocations: 192.6 kB / 352 MB, free: 4.949 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.005721, allocations: 33.69 kB / 352 MB, free: 4.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.005753, allocations: 151 kB / 352.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.005775, allocations: 31.77 kB / 352.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.005806, allocations: 35.36 kB / 352.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.58e-05/0.005851, allocations: 0.4961 MB / 352.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.336e-05/0.005875, allocations: 12 kB / 352.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.601e-05/0.005921, allocations: 101.1 kB / 352.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.748e-05/0.006008, allocations: 125 kB / 352.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.006011, allocations: 0 / 352.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001103/0.006121, allocations: 121.4 kB / 353.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.006134, allocations: 8 kB / 353.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.006138, allocations: 0 / 353.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.006152, allocations: 4 kB / 353.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.006239, allocations: 31.92 kB / 353.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.006245, allocations: 4 kB / 353.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.221e-05/0.006277, allocations: 4 kB / 353.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.006284, allocations: 7.984 kB / 353.1 MB, free: 3.684 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 5.359e-05/0.006338, allocations: 178.9 kB / 353.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.006351, allocations: 15.91 kB / 353.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.006377, allocations: 12.78 kB / 353.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.00638, allocations: 3.938 kB / 353.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.006383, allocations: 0 / 353.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.006388, allocations: 3.984 kB / 353.3 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.956e-05/0.006457, allocations: 148.5 kB / 353.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.006458, allocations: 0 / 353.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.006502, allocations: 12 kB / 353.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.006504, allocations: 7.922 kB / 353.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.006518, allocations: 4 kB / 353.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006518, allocations: 0 / 353.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.006519, allocations: 0 / 353.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.006667, allocations: 144.6 kB / 353.6 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.006677, allocations: 7.953 kB / 353.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.006691, allocations: 0 / 353.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.472e-05/0.006716, allocations: 4 kB / 353.6 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.006751, allocations: 7.984 kB / 353.7 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.006757, allocations: 7.984 kB / 353.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.234e-05/0.00679, allocations: 145.8 kB / 353.8 MB, free: 2.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00679, allocations: 4.031 kB / 353.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001334/0.006923, allocations: 19.95 kB / 353.8 MB, free: 2.906 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 5.79e-05/0.006981, allocations: 107.1 kB / 353.9 MB, free: 2.789 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.007096, allocations: 59.81 kB / 354 MB, free: 2.727 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007097, allocations: 4 kB / 354 MB, free: 2.723 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.614e-05/0.007133, allocations: 27.61 kB / 354 MB, free: 2.691 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.007276, allocations: 15.94 kB / 354 MB, free: 2.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/0.007762, allocations: 241.5 kB / 354.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.608e-05/0.007788, allocations: 67.34 kB / 354.3 MB, free: 2.328 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.896e-05/0.007817, allocations: 8.484 kB / 354.3 MB, free: 2.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.007848, allocations: 16.5 kB / 354.4 MB, free: 2.305 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.007849, allocations: 0 / 354.4 MB, free: 2.305 MB / 282.7 MB Notification: Performance of Templates: time 0.002505/0.01035, allocations: 0.9935 MB / 355.4 MB, free: 1.328 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.079277979210019]