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.001173/0.001173, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.004208/0.004208, allocations: 170.1 kB / 24.91 MB, free: 8.758 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 1.043/1.043, allocations: 177 MB / 205.2 MB, free: 5.43 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.2796/0.2796, allocations: 34.87 MB / 296.6 MB, free: 0.5078 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.623e-06/1.623e-06, allocations: 0 / 325.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.529e-05, allocations: 2.312 kB / 325.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002388/0.002413, allocations: 1.756 MB / 327.7 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009242/0.003337, allocations: 0.5807 MB / 328.3 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/0.003413, allocations: 7.938 kB / 328.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.003514, allocations: 11.86 kB / 328.3 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.961e-05/0.003574, allocations: 19.8 kB / 328.3 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.003865, allocations: 67.73 kB / 328.4 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.004002, allocations: 115.6 kB / 328.5 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.004124, allocations: 37.86 kB / 328.5 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.004291, allocations: 79.73 kB / 328.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.004397, allocations: 31.91 kB / 328.6 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.004419, allocations: 16 kB / 328.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.869e-05/0.004488, allocations: 23.97 kB / 328.7 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.004521, allocations: 23.92 kB / 328.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.004566, allocations: 36.53 kB / 328.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.004717, allocations: 91.64 kB / 328.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.00472, allocations: 0 / 328.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.004721, allocations: 0 / 328.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.004726, allocations: 0 / 328.8 MB, free: 4.219 MB / 298.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.0004948/0.00522, allocations: 321.8 kB / 329.1 MB, free: 3.883 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.005253, allocations: 8.031 kB / 329.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.005394, allocations: 28.91 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.005553, allocations: 146.1 kB / 329.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.005564, allocations: 4.375 kB / 329.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.005584, allocations: 8.375 kB / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.005707, allocations: 85.3 kB / 329.4 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.005718, allocations: 3.938 kB / 329.4 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.005728, allocations: 0 / 329.4 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.005737, allocations: 4 kB / 329.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.365e-05/0.005771, allocations: 19.92 kB / 329.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.006085, allocations: 234.8 kB / 329.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.506e-05/0.00615, allocations: 46.42 kB / 329.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.006168, allocations: 12.86 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.006182, allocations: 0 / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/0.00629, allocations: 75.34 kB / 329.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 8.61e-07/0.00629, allocations: 0 / 329.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001364/0.006427, allocations: 81.59 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.006463, allocations: 51.41 kB / 329.9 MB, free: 3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.789e-05/0.00654, allocations: 144.7 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.006553, allocations: 29.7 kB / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.006589, allocations: 108 kB / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.006616, allocations: 31.77 kB / 330.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.006655, allocations: 37.69 kB / 330.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.006733, allocations: 326.8 kB / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.006749, allocations: 4 kB / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.00692, allocations: 67.72 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.68e-05/0.007007, allocations: 103.6 kB / 330.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.00701, allocations: 0 / 330.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001118/0.007122, allocations: 93.66 kB / 330.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.007136, allocations: 12.02 kB / 330.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.007143, allocations: 4 kB / 330.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.007157, allocations: 4 kB / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.935e-05/0.007247, allocations: 31.92 kB / 330.9 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.007251, allocations: 4 kB / 330.9 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.85e-05/0.007289, allocations: 11.89 kB / 330.9 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.007296, allocations: 4 kB / 330.9 MB, free: 1.906 MB / 298.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 7.851e-05/0.007375, allocations: 127.2 kB / 331.1 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.00739, allocations: 15.98 kB / 331.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.007421, allocations: 12.78 kB / 331.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.007425, allocations: 4 kB / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.007427, allocations: 0 / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.007432, allocations: 3.984 kB / 331.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.509e-05/0.007517, allocations: 89.8 kB / 331.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.007519, allocations: 4 kB / 331.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.007575, allocations: 15.98 kB / 331.2 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.007577, allocations: 4 kB / 331.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.007588, allocations: 3.938 kB / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.007589, allocations: 0 / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.007591, allocations: 4 kB / 331.2 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.007732, allocations: 107.6 kB / 331.3 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.007746, allocations: 11.91 kB / 331.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.007761, allocations: 4 kB / 331.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.894e-05/0.00779, allocations: 4 kB / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.007822, allocations: 7.984 kB / 331.3 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.007828, allocations: 3.984 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.787e-05/0.007856, allocations: 31.83 kB / 331.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007856, allocations: 3.938 kB / 331.4 MB, free: 1.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001358/0.007992, allocations: 27.88 kB / 331.4 MB, free: 1.383 MB / 298.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 8.595e-05/0.008078, allocations: 80.45 kB / 331.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.577e-05/0.008174, allocations: 53.45 kB / 331.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.008177, allocations: 0 / 331.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.532e-05/0.008212, allocations: 24.83 kB / 331.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/0.008325, allocations: 16 kB / 331.6 MB, free: 1.195 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.008816, allocations: 246.4 kB / 331.8 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.104e-05/0.008857, allocations: 67.33 kB / 331.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.751e-05/0.008894, allocations: 16.47 kB / 331.9 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.008955, allocations: 59.38 kB / 332 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.008956, allocations: 0 / 332 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of Templates: time 0.002893/0.01185, allocations: 1.099 MB / 333.1 MB, free: 15.69 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 -s gbode -gbm=radauIIA3 -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: 2.8990744510665536]