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.0009296/0.0009296, allocations: 72.33 kB / 22.21 MB, free: 2.301 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.001028/0.001028, allocations: 167.8 kB / 25.61 MB, free: 8.93 MB / 18.57 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 0.9178/0.9178, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.1357/0.1357, allocations: 34.26 MB / 296.8 MB, free: 13.95 MB / 282.7 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 1.864e-06/1.864e-06, allocations: 0 / 379.3 MB, free: 23.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.944e-05, allocations: 2.859 kB / 379.3 MB, free: 23.46 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002161/0.00218, allocations: 1.701 MB / 381 MB, free: 21.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007013/0.002881, allocations: 0.5802 MB / 381.6 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.002949, allocations: 0 / 381.6 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 8.865e-05/0.003038, allocations: 11.86 kB / 381.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.587e-05/0.003083, allocations: 23.73 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.003314, allocations: 59.81 kB / 381.6 MB, free: 21.06 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.003426, allocations: 123.6 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.003524, allocations: 25.3 kB / 381.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.003641, allocations: 79.69 kB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.073e-05/0.003732, allocations: 39.88 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.003751, allocations: 8 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.584e-05/0.003796, allocations: 16 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.003825, allocations: 31.89 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.00386, allocations: 35.91 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.003981, allocations: 95.59 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003983, allocations: 0 / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003984, allocations: 0 / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.003987, allocations: 4 kB / 382.1 MB, free: 20.61 MB / 314.7 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.0003769/0.004364, allocations: 471.5 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.004393, allocations: 12.03 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.004512, allocations: 24.84 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.004622, allocations: 156.9 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.004632, allocations: 8.375 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.00465, allocations: 12.38 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.013e-05/0.00474, allocations: 82.84 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.00475, allocations: 7.938 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.00476, allocations: 4 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.004764, allocations: 0 / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.107e-05/0.004795, allocations: 15.98 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.005076, allocations: 336.1 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.993e-05/0.005136, allocations: 47.05 kB / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.005154, allocations: 15.81 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.005165, allocations: 3.938 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.722e-05/0.005253, allocations: 104.9 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.005254, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001465/0.0054, allocations: 85.56 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.005423, allocations: 55.41 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.843e-05/0.005481, allocations: 200.6 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.005491, allocations: 29.7 kB / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.005526, allocations: 154.9 kB / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.005545, allocations: 31.78 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.005579, allocations: 35.36 kB / 383.9 MB, free: 18.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.167e-05/0.005621, allocations: 0.504 MB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.005637, allocations: 11.98 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.348e-05/0.00567, allocations: 95.67 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.252e-05/0.005733, allocations: 125 kB / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.005735, allocations: 8 kB / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001026/0.005838, allocations: 117.4 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.005848, allocations: 4 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.005853, allocations: 4 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.005861, allocations: 0 / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.152e-05/0.005932, allocations: 23.98 kB / 384.8 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.005936, allocations: 7.938 kB / 384.8 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.473e-05/0.005971, allocations: 8.156 kB / 384.8 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.005976, allocations: 12 kB / 384.9 MB, free: 17.57 MB / 314.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_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 5.238e-05/0.006029, allocations: 164.6 kB / 385 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.006043, allocations: 11.91 kB / 385 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.006067, allocations: 16.77 kB / 385 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.006069, allocations: 0 / 385 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.00607, allocations: 0 / 385 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.006074, allocations: 7.875 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.953e-05/0.006144, allocations: 129.1 kB / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006145, allocations: 0 / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.006185, allocations: 16 kB / 385.2 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.006187, allocations: 3.984 kB / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.006195, allocations: 8 kB / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.006196, allocations: 0 / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006197, allocations: 3.984 kB / 385.2 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.006322, allocations: 140.1 kB / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.006332, allocations: 11.91 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.006346, allocations: 0 / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.656e-05/0.006372, allocations: 8 kB / 385.4 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.006396, allocations: 7.984 kB / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.006402, allocations: 3.984 kB / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.861e-05/0.006431, allocations: 158.5 kB / 385.5 MB, free: 16.83 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006431, allocations: 0 / 385.5 MB, free: 16.83 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000143/0.006574, allocations: 16 kB / 385.6 MB, free: 16.81 MB / 314.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_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 5.498e-05/0.006629, allocations: 103.2 kB / 385.7 MB, free: 16.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.738e-05/0.006716, allocations: 55.77 kB / 385.7 MB, free: 16.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.006717, allocations: 0 / 385.7 MB, free: 16.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.049e-05/0.006748, allocations: 31.61 kB / 385.7 MB, free: 16.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.006885, allocations: 24.5 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.007269, allocations: 248.2 kB / 386 MB, free: 16.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.102e-05/0.00729, allocations: 67.34 kB / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.101e-05/0.007321, allocations: 8.484 kB / 386.1 MB, free: 16.22 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.007369, allocations: 82.2 kB / 386.2 MB, free: 16.14 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.00737, allocations: 4 kB / 386.2 MB, free: 16.14 MB / 314.7 MB Notification: Performance of Templates: time 0.002305/0.009674, allocations: 1.143 MB / 387.3 MB, free: 15.02 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 2.9275092650204897]