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.001404/0.001404, allocations: 76.81 kB / 19.93 MB, free: 1.781 MB / 14.72 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.001505/0.001505, allocations: 166.3 kB / 23.21 MB, free: 4.906 MB / 14.72 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 1.378/1.378, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] 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.2054/0.2054, allocations: 32.38 MB / 269.6 MB, free: 4.672 MB / 254.1 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 1.603e-06/1.603e-06, allocations: 0 / 407.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.906e-05, allocations: 2.281 kB / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003855/0.003884, allocations: 1.621 MB / 409 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.005289, allocations: 0.5577 MB / 409.5 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.511e-05/0.005384, allocations: 8 kB / 409.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.005496, allocations: 11.86 kB / 409.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.672e-05/0.005563, allocations: 11.88 kB / 409.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.005893, allocations: 59.69 kB / 409.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.006126, allocations: 111.7 kB / 409.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.006273, allocations: 23.92 kB / 409.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.00645, allocations: 63.81 kB / 409.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.006583, allocations: 35.88 kB / 409.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.752e-05/0.00664, allocations: 8 kB / 409.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.038e-05/0.00667, allocations: 16 kB / 409.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.00673, allocations: 27.91 kB / 409.9 MB, free: 476 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.895e-05/0.006799, allocations: 23.92 kB / 409.9 MB, free: 452 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.007015, allocations: 103.7 kB / 410 MB, free: 348 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.00702, allocations: 3.984 kB / 410 MB, free: 344 kB / 334.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007021, allocations: 0 / 410 MB, free: 344 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.00703, allocations: 7.938 kB / 410 MB, free: 336 kB / 334.1 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.0008799/0.00791, allocations: 351.7 kB / 410.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.007952, allocations: 12.02 kB / 410.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.00801, allocations: 20.83 kB / 410.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.008289, allocations: 153.4 kB / 410.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.008304, allocations: 8.375 kB / 410.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.008342, allocations: 8.375 kB / 410.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.00863, allocations: 90.2 kB / 410.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.008647, allocations: 4.172 kB / 410.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.008667, allocations: 384 / 410.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.008673, allocations: 3.938 kB / 410.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.008876, allocations: 51.91 kB / 410.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000659/0.009535, allocations: 280.4 kB / 411 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.009732, allocations: 58.5 kB / 411 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.009836, allocations: 28.98 kB / 411.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.009858, allocations: 0 / 411.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002589/0.01012, allocations: 103.2 kB / 411.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.824e-06/0.01012, allocations: 4 kB / 411.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005009/0.01062, allocations: 129.5 kB / 411.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.01067, allocations: 55.34 kB / 411.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.01084, allocations: 136.5 kB / 411.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.01088, allocations: 33.7 kB / 411.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.737e-05/0.01096, allocations: 104.3 kB / 411.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.01102, allocations: 35.78 kB / 411.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-05/0.01109, allocations: 25.72 kB / 411.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.01127, allocations: 326.8 kB / 412 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.01138, allocations: 31.92 kB / 412 MB, free: 14.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.01154, allocations: 87.22 kB / 412.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.01182, allocations: 115.6 kB / 412.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01182, allocations: 0 / 412.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003927/0.01222, allocations: 145.8 kB / 412.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.01223, allocations: 4 kB / 412.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.01224, allocations: 8 kB / 412.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.01226, allocations: 0 / 412.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.01243, allocations: 31.86 kB / 412.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.01244, allocations: 4 kB / 412.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.01255, allocations: 11.95 kB / 412.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.01257, allocations: 12.2 kB / 412.5 MB, free: 13.68 MB / 350.1 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 0.0001597/0.01273, allocations: 137 kB / 412.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.01276, allocations: 11.89 kB / 412.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.01281, allocations: 16.86 kB / 412.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01282, allocations: 0 / 412.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.01282, allocations: 0 / 412.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.01283, allocations: 3.984 kB / 412.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.01301, allocations: 137.2 kB / 412.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.01301, allocations: 0 / 412.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.01315, allocations: 11.98 kB / 412.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01315, allocations: 4 kB / 412.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.01317, allocations: 8 kB / 412.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01318, allocations: 0 / 412.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01318, allocations: 0 / 412.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004753/0.01365, allocations: 168.9 kB / 412.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.01368, allocations: 7.984 kB / 412.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.01371, allocations: 4 kB / 412.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-05/0.01381, allocations: 7.984 kB / 413 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.01386, allocations: 7.984 kB / 413 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.01388, allocations: 8.062 kB / 413 MB, free: 13.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.01399, allocations: 107.2 kB / 413.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01399, allocations: 0 / 413.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003747/0.01437, allocations: 16 kB / 413.1 MB, free: 12.97 MB / 350.1 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.000224/0.01459, allocations: 103.2 kB / 413.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.01489, allocations: 67.84 kB / 413.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01489, allocations: 0 / 413.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.01502, allocations: 36.45 kB / 413.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.0153, allocations: 21.33 kB / 413.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.01598, allocations: 233 kB / 413.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.01616, allocations: 88.42 kB / 413.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.245e-05/0.01623, allocations: 20.34 kB / 413.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.01629, allocations: 16.5 kB / 413.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.01629, allocations: 0 / 413.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of Templates: time 0.005674/0.02196, allocations: 0.9331 MB / 414.6 MB, free: 11.43 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.497170563787222]