Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001355/0.001355, allocations: 95.2 kB / 20.43 MB, free: 4.141 MB / 18.57 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.001417/0.001417, allocations: 165 kB / 23.79 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8656/0.8656, allocations: 158.6 MB / 185.7 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1501/0.1501, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.986e-05, allocations: 2.312 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001856/0.001886, allocations: 1.689 MB / 349.3 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006361/0.002522, allocations: 0.5619 MB / 349.9 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.387e-05/0.002586, allocations: 3.938 kB / 349.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.002694, allocations: 11.86 kB / 349.9 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.002734, allocations: 19.86 kB / 349.9 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.002989, allocations: 55.75 kB / 350 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.003099, allocations: 111.6 kB / 350.1 MB, free: 7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.003211, allocations: 23.98 kB / 350.1 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.651e-05/0.003297, allocations: 67.81 kB / 350.2 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.169e-05/0.003379, allocations: 35.88 kB / 350.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.003399, allocations: 8 kB / 350.2 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.003412, allocations: 8 kB / 350.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.003446, allocations: 27.84 kB / 350.3 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.003487, allocations: 31.92 kB / 350.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.003608, allocations: 71.78 kB / 350.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.00361, allocations: 0 / 350.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.003611, allocations: 0 / 350.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.778e-06/0.003615, allocations: 4 kB / 350.4 MB, free: 6.727 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004366/0.004051, allocations: 467.5 kB / 350.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.004083, allocations: 12.03 kB / 350.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.004127, allocations: 12.89 kB / 350.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.004258, allocations: 152.3 kB / 351 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.004268, allocations: 4.375 kB / 351 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.004291, allocations: 12.38 kB / 351 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.004409, allocations: 81.66 kB / 351.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.004417, allocations: 4.188 kB / 351.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.00443, allocations: 4.375 kB / 351.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.004437, allocations: 7.938 kB / 351.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.004481, allocations: 19.92 kB / 351.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003863/0.004868, allocations: 343.5 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.346e-05/0.004941, allocations: 50.98 kB / 351.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.665e-05/0.004968, allocations: 19.78 kB / 351.5 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.004987, allocations: 4.031 kB / 351.5 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.53e-05/0.005082, allocations: 89.02 kB / 351.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.005083, allocations: 0 / 351.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001718/0.005255, allocations: 101.5 kB / 351.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.005278, allocations: 59.34 kB / 351.8 MB, free: 5.152 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.005342, allocations: 188.2 kB / 352 MB, free: 4.953 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.005351, allocations: 29.7 kB / 352 MB, free: 4.918 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.065e-05/0.005382, allocations: 155 kB / 352.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.005402, allocations: 27.78 kB / 352.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.005434, allocations: 35.38 kB / 352.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.836e-05/0.005472, allocations: 0.4961 MB / 352.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.435e-05/0.005496, allocations: 15.98 kB / 352.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.005536, allocations: 93.17 kB / 352.8 MB, free: 4.039 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.753e-05/0.005614, allocations: 117 kB / 352.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.005616, allocations: 4 kB / 352.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000108/0.005724, allocations: 129.4 kB / 353.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.005736, allocations: 11.94 kB / 353.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.00574, allocations: 0 / 353.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.005754, allocations: 4 kB / 353.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.005838, allocations: 23.98 kB / 353.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.005844, allocations: 4 kB / 353.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.005876, allocations: 8 kB / 353.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.005882, allocations: 4 kB / 353.1 MB, free: 3.695 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,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * 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 4.669e-05/0.005929, allocations: 176.6 kB / 353.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.005942, allocations: 19.89 kB / 353.3 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.00597, allocations: 12.78 kB / 353.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.005971, allocations: 0 / 353.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.005974, allocations: 0 / 353.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.005977, allocations: 0 / 353.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.207e-05/0.00604, allocations: 148.5 kB / 353.5 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.006042, allocations: 7.984 kB / 353.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.006083, allocations: 12 kB / 353.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.006085, allocations: 11.94 kB / 353.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.006096, allocations: 3.938 kB / 353.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006097, allocations: 3.984 kB / 353.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.006098, allocations: 0 / 353.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.006233, allocations: 136.6 kB / 353.6 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.006243, allocations: 11.94 kB / 353.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.006257, allocations: 4 kB / 353.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.523e-05/0.006283, allocations: 4 kB / 353.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.006313, allocations: 3.984 kB / 353.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.006319, allocations: 4 kB / 353.7 MB, free: 3.078 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.865e-05/0.006348, allocations: 149.7 kB / 353.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006348, allocations: 4.031 kB / 353.8 MB, free: 2.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001406/0.006489, allocations: 19.95 kB / 353.8 MB, free: 2.91 MB / 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,rootMeanSquare.mean.y) * 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 0.0001779/0.006667, allocations: 99.19 kB / 353.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.006877, allocations: 63.56 kB / 354 MB, free: 2.734 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.00688, allocations: 0 / 354 MB, free: 2.734 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.981e-05/0.00693, allocations: 35.61 kB / 354 MB, free: 2.695 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.007116, allocations: 16.36 kB / 354 MB, free: 2.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005993/0.007715, allocations: 233 kB / 354.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.35e-05/0.007738, allocations: 63.34 kB / 354.3 MB, free: 2.344 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.915e-05/0.007768, allocations: 12.48 kB / 354.3 MB, free: 2.332 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.0078, allocations: 16.5 kB / 354.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.007801, allocations: 0 / 354.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of Templates: time 0.002623/0.01042, allocations: 0.9623 MB / 355.3 MB, free: 1.371 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.1245717527344823]