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.001238/0.001238, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002035/0.003273, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001235/0.001235, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0015/0.002735, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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/1, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09279/1.093, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.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.2684/0.2684, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02634/0.2947, allocations: 13.23 MB / 292.6 MB, free: 6.484 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.262e-06/1.262e-06, allocations: 0 / 293.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.21e-05, allocations: 3.953 kB / 293.9 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002352/0.002374, allocations: 1.759 MB / 295.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006959/0.00307, allocations: 0.5808 MB / 296.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.003127, allocations: 7.938 kB / 296.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.354e-05/0.00319, allocations: 11.86 kB / 296.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.659e-05/0.003227, allocations: 15.81 kB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.003403, allocations: 71.72 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.003524, allocations: 115.6 kB / 296.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.003625, allocations: 33.88 kB / 296.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.00377, allocations: 83.8 kB / 296.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.603e-05/0.003866, allocations: 35.88 kB / 296.6 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.003887, allocations: 11.94 kB / 296.6 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.494e-05/0.003952, allocations: 23.94 kB / 296.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.003979, allocations: 23.94 kB / 296.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.732e-05/0.004026, allocations: 27.94 kB / 296.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.004151, allocations: 71.75 kB / 296.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.414e-05/0.004165, allocations: 0 / 296.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.004167, allocations: 3.938 kB / 296.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.004182, allocations: 3.984 kB / 296.7 MB, free: 2.328 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004668/0.004649, allocations: 337.3 kB / 297.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.004677, allocations: 8.922 kB / 297.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.004826, allocations: 110 kB / 297.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.004975, allocations: 142.1 kB / 297.3 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.004988, allocations: 12.31 kB / 297.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.005006, allocations: 8.375 kB / 297.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.005111, allocations: 82.89 kB / 297.4 MB, free: 1.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.00512, allocations: 3.938 kB / 297.4 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.005131, allocations: 7.984 kB / 297.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.005138, allocations: 4 kB / 297.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.005173, allocations: 15.94 kB / 297.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.005441, allocations: 234.8 kB / 297.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.869e-05/0.0055, allocations: 46.48 kB / 297.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.005515, allocations: 8.859 kB / 297.7 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.005532, allocations: 3.984 kB / 297.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.678e-05/0.005628, allocations: 76.3 kB / 297.8 MB, free: 1.137 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.005629, allocations: 0 / 297.8 MB, free: 1.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001185/0.005748, allocations: 73.59 kB / 297.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.005781, allocations: 59.41 kB / 297.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/0.00585, allocations: 151.1 kB / 298.1 MB, free: 0.832 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.005862, allocations: 29.7 kB / 298.1 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.005893, allocations: 100.1 kB / 298.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.005918, allocations: 31.73 kB / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.005952, allocations: 37.62 kB / 298.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.59e-05/0.006017, allocations: 326.8 kB / 298.6 MB, free: 300 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.00603, allocations: 4 kB / 298.6 MB, free: 296 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.998e-05/0.00607, allocations: 72.27 kB / 298.7 MB, free: 196 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.699e-05/0.006137, allocations: 95.56 kB / 298.8 MB, free: 72 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006139, allocations: 0 / 298.8 MB, free: 72 kB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000107/0.006246, allocations: 101.5 kB / 298.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.006258, allocations: 4.219 kB / 298.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.006263, allocations: 8 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.006271, allocations: 4 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.304e-05/0.006355, allocations: 27.92 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.006359, allocations: 4 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.006393, allocations: 19.83 kB / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.006399, allocations: 4 kB / 298.9 MB, free: 15.89 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 6.136e-05/0.00646, allocations: 130.9 kB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.006472, allocations: 7.984 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.006498, allocations: 20.77 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.006499, allocations: 4 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.006501, allocations: 0 / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.006504, allocations: 0 / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.082e-05/0.006575, allocations: 97.72 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.006576, allocations: 4 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.006616, allocations: 8 kB / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.006626, allocations: 11.94 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.006627, allocations: 0 / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.006637, allocations: 4 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.006638, allocations: 4 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006639, allocations: 0 / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.006752, allocations: 112.6 kB / 299.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.006765, allocations: 0 / 299.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.823e-05/0.006793, allocations: 7.984 kB / 299.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.006821, allocations: 7.984 kB / 299.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.006827, allocations: 4 kB / 299.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.264e-05/0.00685, allocations: 28.83 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00685, allocations: 3.938 kB / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001126/0.006963, allocations: 27.88 kB / 299.4 MB, free: 15.38 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 6.741e-05/0.00703, allocations: 76.41 kB / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.663e-05/0.007107, allocations: 52.75 kB / 299.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.007111, allocations: 4 kB / 299.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.844e-05/0.00714, allocations: 24.83 kB / 299.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.84e-05/0.007228, allocations: 20.53 kB / 299.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007143/0.007942, allocations: 253.5 kB / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.105e-05/0.007973, allocations: 71.77 kB / 299.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.85e-05/0.008002, allocations: 8.5 kB / 299.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.008055, allocations: 63.36 kB / 300 MB, free: 14.75 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.008055, allocations: 4 kB / 300 MB, free: 14.75 MB / 298.7 MB Notification: Performance of Templates: time 0.003008/0.01106, allocations: 1.129 MB / 301.1 MB, free: 13.64 MB / 298.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 -ignoreHideResult -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.880426723510027]