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.001531/0.001531, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001508/0.001508, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9678/0.9678, allocations: 177 MB / 204.8 MB, free: 5.605 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.2861/0.2861, allocations: 34.86 MB / 296.3 MB, free: 0.5312 MB / 266.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.563e-06/1.563e-06, allocations: 0 / 378.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.85e-05, allocations: 3.156 kB / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002345/0.002363, allocations: 1.72 MB / 380.5 MB, free: 384 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009198/0.003283, allocations: 0.5647 MB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.003362, allocations: 7.938 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.003474, allocations: 7.875 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.315e-05/0.003537, allocations: 23.8 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.00386, allocations: 67.73 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.004019, allocations: 115.6 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.004156, allocations: 29.22 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.004364, allocations: 75.81 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.004483, allocations: 31.89 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.004509, allocations: 15.98 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.477e-05/0.004574, allocations: 16 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.004614, allocations: 19.92 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.004678, allocations: 43.84 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.004861, allocations: 95.64 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.004863, allocations: 0 / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.004865, allocations: 0 / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.81e-06/0.00487, allocations: 0 / 381.6 MB, free: 15.27 MB / 362.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.0005982/0.005468, allocations: 475.5 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.005503, allocations: 8.031 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.005663, allocations: 36.83 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.005908, allocations: 168.8 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.005921, allocations: 8.375 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.005947, allocations: 8.375 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.00611, allocations: 82.92 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.006123, allocations: 7.922 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.006136, allocations: 0 / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.006144, allocations: 0 / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.099e-05/0.006205, allocations: 23.98 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.006664, allocations: 367.4 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.253e-05/0.006756, allocations: 55.08 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.006791, allocations: 15.72 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.006806, allocations: 0 / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.006937, allocations: 92.95 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.006938, allocations: 0 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000231/0.007169, allocations: 93.55 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.007205, allocations: 59.34 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.007318, allocations: 201.8 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.007335, allocations: 37.7 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.007398, allocations: 154.9 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.007434, allocations: 31.73 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.007484, allocations: 39.36 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.007727, allocations: 0.4923 MB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.467e-05/0.007762, allocations: 11.98 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.122e-05/0.007833, allocations: 97.17 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.007952, allocations: 129.1 kB / 384.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.007957, allocations: 0 / 384.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001698/0.008127, allocations: 117.4 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.00814, allocations: 4 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.008145, allocations: 4 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.008159, allocations: 4.219 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.008263, allocations: 35.92 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.00827, allocations: 7.922 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.008318, allocations: 4 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.008328, allocations: 11.94 kB / 384.4 MB, free: 12.14 MB / 362.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 8.131e-05/0.00841, allocations: 170.8 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.008432, allocations: 19.91 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.008462, allocations: 12.77 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.008465, allocations: 4 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.008469, allocations: 3.938 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.008473, allocations: 4 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.008582, allocations: 140.6 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.008583, allocations: 96 / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.00864, allocations: 15.98 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.008643, allocations: 3.984 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.008657, allocations: 0 / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.008658, allocations: 0 / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.00866, allocations: 4 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.008857, allocations: 148.2 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.008871, allocations: 15.89 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.008892, allocations: 4.031 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.547e-05/0.008928, allocations: 8 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.008962, allocations: 3.984 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.00897, allocations: 7.938 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.478e-05/0.009035, allocations: 154.9 kB / 385.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009035, allocations: 0 / 385.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.009247, allocations: 19.94 kB / 385.1 MB, free: 11.35 MB / 362.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 7.41e-05/0.009322, allocations: 95.25 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.009463, allocations: 63.91 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.009464, allocations: 0 / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.081e-05/0.009515, allocations: 35.61 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.009695, allocations: 15.98 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005677/0.01026, allocations: 246.5 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.0103, allocations: 71.33 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.802e-05/0.01034, allocations: 8.562 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.01038, allocations: 16.5 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01038, allocations: 0 / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of Templates: time 0.003423/0.0138, allocations: 1.089 MB / 386.8 MB, free: 9.676 MB / 362.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.049729689024389]