Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00099/0.00099, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9613/0.9613, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1449/0.1449, allocations: 34.87 MB / 297.4 MB, free: 13.42 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.624e-05, allocations: 4.281 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001825/0.001841, allocations: 1.7 MB / 381.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007134/0.002555, allocations: 0.5685 MB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.00262, allocations: 11.88 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 9.84e-05/0.002719, allocations: 11.86 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.002763, allocations: 15.86 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.003014, allocations: 67.69 kB / 382.4 MB, free: 20.37 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.00314, allocations: 119.6 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.003245, allocations: 25.3 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.003368, allocations: 75.81 kB / 382.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.765e-05/0.003465, allocations: 39.88 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.003484, allocations: 12 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.363e-05/0.003528, allocations: 15.94 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.003559, allocations: 35.84 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.003599, allocations: 35.89 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.003724, allocations: 83.72 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003726, allocations: 0 / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003727, allocations: 0 / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.003731, allocations: 0 / 382.8 MB, free: 19.93 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.0004032/0.004135, allocations: 483.4 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.004168, allocations: 8.031 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.004296, allocations: 28.83 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.004412, allocations: 156.9 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.004424, allocations: 12.36 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.004444, allocations: 12.38 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.695e-05/0.004541, allocations: 76.61 kB / 383.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.004551, allocations: 3.938 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.004561, allocations: 7.984 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.004566, allocations: 4 kB / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.45e-05/0.004601, allocations: 19.98 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.004897, allocations: 332.1 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.366e-05/0.00496, allocations: 50.98 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.00498, allocations: 15.81 kB / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.004992, allocations: 4 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.718e-05/0.005089, allocations: 92.95 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.00509, allocations: 0 / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.000155/0.005245, allocations: 89.55 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.005268, allocations: 55.34 kB / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.618e-05/0.005334, allocations: 208.4 kB / 384.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.005345, allocations: 29.7 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/0.005377, allocations: 154.9 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.005397, allocations: 23.81 kB / 384.6 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.005432, allocations: 43.34 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.791e-05/0.00548, allocations: 0.4962 MB / 385.2 MB, free: 17.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.005496, allocations: 11.98 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.756e-05/0.005534, allocations: 98.73 kB / 385.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.909e-05/0.005603, allocations: 125 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005605, allocations: 0 / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001079/0.005712, allocations: 113.4 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.005727, allocations: 4 kB / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.005732, allocations: 7.938 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.537e-06/0.005742, allocations: 4 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.905e-05/0.005821, allocations: 27.98 kB / 385.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/0.005825, allocations: 7.969 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.005862, allocations: 11.94 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.005868, allocations: 4.219 kB / 385.6 MB, free: 16.88 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.944e-05/0.005927, allocations: 168.5 kB / 385.7 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.005942, allocations: 19.91 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.005967, allocations: 12.77 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.005969, allocations: 4 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.005971, allocations: 0 / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.005975, allocations: 3.938 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.105e-05/0.006046, allocations: 133.1 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006048, allocations: 0 / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.006089, allocations: 8 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.00609, allocations: 4 kB / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.006101, allocations: 3.984 kB / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.006103, allocations: 7.938 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006104, allocations: 0 / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.006243, allocations: 144.6 kB / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.006254, allocations: 7.906 kB / 386.1 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.00627, allocations: 4 kB / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.717e-05/0.006297, allocations: 4 kB / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.006323, allocations: 7.984 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.006329, allocations: 4 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.956e-05/0.006358, allocations: 145.9 kB / 386.2 MB, free: 16.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006358, allocations: 4 kB / 386.2 MB, free: 16.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001407/0.006499, allocations: 20 kB / 386.3 MB, free: 16.12 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.819e-05/0.006557, allocations: 103.3 kB / 386.4 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.98e-05/0.006647, allocations: 63.64 kB / 386.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.006648, allocations: 0 / 386.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.505e-05/0.006683, allocations: 27.61 kB / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.006832, allocations: 18.25 kB / 386.5 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.007249, allocations: 252.2 kB / 386.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.462e-05/0.007274, allocations: 71.33 kB / 386.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.962e-05/0.007304, allocations: 4.5 kB / 386.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.007356, allocations: 86.19 kB / 386.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.007357, allocations: 0 / 386.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of Templates: time 0.002724/0.01008, allocations: 1.156 MB / 388 MB, free: 14.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.2449706229381263]