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.0006681/0.0006681, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001727, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007068/0.0007068, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.001749, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9998/0.9998, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1037/1.103, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.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.2602/0.2602, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0256/0.2858, allocations: 13.11 MB / 291.5 MB, free: 7.332 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.422e-06/1.422e-06, allocations: 0 / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.423e-05, allocations: 2.859 kB / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002747/0.002771, allocations: 1.76 MB / 294.6 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007342/0.003505, allocations: 0.5885 MB / 295.2 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/0.003568, allocations: 4 kB / 295.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.689e-05/0.003635, allocations: 11.88 kB / 295.2 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.183e-05/0.003677, allocations: 23.72 kB / 295.2 MB, free: 3.816 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.003871, allocations: 59.81 kB / 295.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.004016, allocations: 120.1 kB / 295.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.004127, allocations: 25.89 kB / 295.4 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003026/0.00443, allocations: 83.81 kB / 295.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.00455, allocations: 47.88 kB / 295.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.004572, allocations: 8 kB / 295.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.425e-05/0.004646, allocations: 19.94 kB / 295.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.004685, allocations: 27.88 kB / 295.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.004723, allocations: 23.94 kB / 295.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.004887, allocations: 83.67 kB / 295.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.004898, allocations: 0 / 295.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.004899, allocations: 0 / 295.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.004909, allocations: 0 / 295.7 MB, free: 3.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.0004896/0.005399, allocations: 345.3 kB / 296 MB, free: 2.969 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.005428, allocations: 8.031 kB / 296 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.005587, allocations: 106 kB / 296.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.005735, allocations: 142.2 kB / 296.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.005747, allocations: 8.312 kB / 296.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.005769, allocations: 12.38 kB / 296.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.005882, allocations: 87.95 kB / 296.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.005893, allocations: 3.938 kB / 296.4 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.005903, allocations: 4 kB / 296.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.005909, allocations: 8 kB / 296.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.091e-05/0.005939, allocations: 15.98 kB / 296.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.006238, allocations: 230.8 kB / 296.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.467e-05/0.006303, allocations: 38.56 kB / 296.7 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.00632, allocations: 12.84 kB / 296.7 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.006335, allocations: 0 / 296.7 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.006446, allocations: 87.27 kB / 296.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.006447, allocations: 4 kB / 296.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001266/0.006573, allocations: 69.61 kB / 296.9 MB, free: 2.051 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.006606, allocations: 51.41 kB / 296.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.24e-05/0.006679, allocations: 152.7 kB / 297.1 MB, free: 1.828 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.00669, allocations: 25.7 kB / 297.1 MB, free: 1.797 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.006726, allocations: 104.1 kB / 297.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.006748, allocations: 23.81 kB / 297.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.006781, allocations: 33.69 kB / 297.2 MB, free: 1.629 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.729e-05/0.006859, allocations: 330.7 kB / 297.6 MB, free: 1.297 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.006873, allocations: 7.984 kB / 297.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-05/0.006914, allocations: 70.25 kB / 297.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.583e-05/0.00699, allocations: 99.55 kB / 297.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006992, allocations: 0 / 297.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001031/0.007095, allocations: 101.4 kB / 297.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.007106, allocations: 7.938 kB / 297.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.007112, allocations: 4 kB / 297.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.007125, allocations: 4 kB / 297.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.007208, allocations: 23.98 kB / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.007214, allocations: 7.938 kB / 297.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.607e-05/0.00725, allocations: 19.83 kB / 297.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.007257, allocations: 7.984 kB / 297.9 MB, free: 0.8906 MB / 282.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.824e-05/0.007325, allocations: 124.9 kB / 298 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.007336, allocations: 7.984 kB / 298 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.007364, allocations: 12.78 kB / 298.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007366, allocations: 0 / 298.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.007367, allocations: 0 / 298.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.00737, allocations: 0 / 298.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.184e-05/0.007452, allocations: 105.7 kB / 298.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.007453, allocations: 4 kB / 298.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.007498, allocations: 15.92 kB / 298.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.007509, allocations: 7.953 kB / 298.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.00751, allocations: 0 / 298.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.007519, allocations: 4 kB / 298.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.007521, allocations: 4 kB / 298.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.007522, allocations: 0 / 298.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.00765, allocations: 112.9 kB / 298.3 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.007664, allocations: 4 kB / 298.3 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.674e-05/0.00769, allocations: 4 kB / 298.3 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.007715, allocations: 3.984 kB / 298.3 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.007721, allocations: 8 kB / 298.3 MB, free: 444 kB / 282.7 MB Notification: Performance of sorting global known variables: time 2.605e-05/0.007747, allocations: 32.02 kB / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007747, allocations: 0 / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001164/0.007864, allocations: 31.95 kB / 298.4 MB, free: 380 kB / 282.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.083e-05/0.007935, allocations: 72.89 kB / 298.5 MB, free: 300 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.241e-05/0.008027, allocations: 56.7 kB / 298.5 MB, free: 240 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.008033, allocations: 4 kB / 298.5 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.9e-05/0.008072, allocations: 32.66 kB / 298.5 MB, free: 200 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.008205, allocations: 111 kB / 298.7 MB, free: 72 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007703/0.008976, allocations: 246 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.434e-05/0.00901, allocations: 71.33 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.269e-05/0.009043, allocations: 8.484 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.009103, allocations: 63.38 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.009104, allocations: 0 / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of Templates: time 0.002669/0.01177, allocations: 1.131 MB / 300.2 MB, free: 14.53 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7475972464308143]