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.001094/0.001094, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001016/0.001016, allocations: 169 kB / 24.24 MB, free: 312 kB / 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.008/1.008, allocations: 158.6 MB / 186 MB, free: 2.914 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.152/0.152, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.603e-06/1.603e-06, allocations: 0 / 347.6 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.375e-05, allocations: 4.281 kB / 347.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.005156/0.00518, allocations: 1.683 MB / 349.3 MB, free: 8.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006819/0.005862, allocations: 0.5618 MB / 349.9 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.005933, allocations: 4 kB / 349.9 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.689e-05/0.00603, allocations: 11.86 kB / 349.9 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.123e-05/0.006071, allocations: 7.875 kB / 349.9 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.006299, allocations: 67.67 kB / 350 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.006421, allocations: 115.6 kB / 350.1 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.006537, allocations: 19.98 kB / 350.1 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.653e-05/0.006633, allocations: 67.86 kB / 350.2 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.162e-05/0.006725, allocations: 27.91 kB / 350.2 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.00675, allocations: 8 kB / 350.2 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.006766, allocations: 8 kB / 350.2 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.006802, allocations: 31.84 kB / 350.3 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.006852, allocations: 31.91 kB / 350.3 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.006984, allocations: 71.73 kB / 350.4 MB, free: 7.066 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.006986, allocations: 0 / 350.4 MB, free: 7.066 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006987, allocations: 0 / 350.4 MB, free: 7.066 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.006991, allocations: 8 kB / 350.4 MB, free: 7.059 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.0004784/0.00747, allocations: 463.5 kB / 350.8 MB, free: 6.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.007503, allocations: 8.031 kB / 350.8 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.007553, allocations: 12.89 kB / 350.8 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.007723, allocations: 156.3 kB / 351 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.007738, allocations: 8.375 kB / 351 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.007765, allocations: 8.359 kB / 351 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.00794, allocations: 82.86 kB / 351.1 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.007952, allocations: 4.188 kB / 351.1 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.007968, allocations: 8.375 kB / 351.1 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.007977, allocations: 3.938 kB / 351.1 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.964e-05/0.008037, allocations: 15.98 kB / 351.1 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.008447, allocations: 347.5 kB / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.65e-05/0.008533, allocations: 47.08 kB / 351.5 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.008566, allocations: 19.78 kB / 351.5 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.008585, allocations: 0 / 351.5 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.008726, allocations: 96.94 kB / 351.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.008727, allocations: 0 / 351.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002153/0.008943, allocations: 93.52 kB / 351.7 MB, free: 5.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.00897, allocations: 55.41 kB / 351.8 MB, free: 5.496 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.941e-05/0.00905, allocations: 196.2 kB / 352 MB, free: 5.289 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.009061, allocations: 33.7 kB / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.009097, allocations: 151 kB / 352.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.009123, allocations: 27.78 kB / 352.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.009165, allocations: 35.36 kB / 352.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.477e-05/0.009209, allocations: 0.5 MB / 352.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.859e-05/0.009238, allocations: 12 kB / 352.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.295e-05/0.009291, allocations: 99.36 kB / 352.8 MB, free: 4.371 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.538e-05/0.009386, allocations: 125 kB / 352.9 MB, free: 4.211 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.009389, allocations: 0 / 352.9 MB, free: 4.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001482/0.009537, allocations: 129.4 kB / 353.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.009549, allocations: 4 kB / 353.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.009555, allocations: 4 kB / 353.1 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.009569, allocations: 0 / 353.1 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.009671, allocations: 27.92 kB / 353.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.009678, allocations: 4 kB / 353.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.009726, allocations: 8 kB / 353.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.009735, allocations: 12.2 kB / 353.1 MB, free: 4.02 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.437e-05/0.009789, allocations: 172.5 kB / 353.3 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.009807, allocations: 11.91 kB / 353.3 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.009835, allocations: 12.78 kB / 353.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.009837, allocations: 0 / 353.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.00984, allocations: 3.938 kB / 353.3 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.009845, allocations: 3.984 kB / 353.3 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.695e-05/0.009922, allocations: 148.5 kB / 353.5 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.009923, allocations: 4 kB / 353.5 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.009976, allocations: 11.98 kB / 353.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.009977, allocations: 7.938 kB / 353.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.00999, allocations: 4 kB / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.009992, allocations: 4 kB / 353.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.009993, allocations: 0 / 353.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.01016, allocations: 136.6 kB / 353.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.01017, allocations: 7.953 kB / 353.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.01018, allocations: 4 kB / 353.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.855e-05/0.01021, allocations: 4 kB / 353.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.01024, allocations: 7.984 kB / 353.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-06/0.01025, allocations: 3.984 kB / 353.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.965e-05/0.01028, allocations: 145.5 kB / 353.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01028, allocations: 4.031 kB / 353.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001325/0.01041, allocations: 19.95 kB / 353.8 MB, free: 3.25 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 6.824e-05/0.01048, allocations: 111.1 kB / 353.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.01061, allocations: 59.62 kB / 354 MB, free: 3.066 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01061, allocations: 0 / 354 MB, free: 3.066 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.742e-05/0.01066, allocations: 31.61 kB / 354 MB, free: 3.031 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.01085, allocations: 20.59 kB / 354 MB, free: 3.012 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005981/0.01145, allocations: 241 kB / 354.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.787e-05/0.01148, allocations: 63.34 kB / 354.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.311e-05/0.01152, allocations: 12.47 kB / 354.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.01156, allocations: 16.5 kB / 354.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01156, allocations: 0 / 354.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of Templates: time 0.00271/0.01427, allocations: 0.9551 MB / 355.3 MB, free: 1.703 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.086469240952283]