Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002282/0.002282, allocations: 120.8 kB / 20.33 MB, free: 1.41 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.001604/0.001604, allocations: 211.9 kB / 23.6 MB, free: 4.664 MB / 14.72 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 1.582/1.582, allocations: 230.5 MB / 257.2 MB, free: 8.285 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2356/0.2356, allocations: 44.91 MB / 358.6 MB, free: 6.359 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 67.89 kB / 0.4932 GB, free: 10.38 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.407, allocations: 65.46 MB / 0.5571 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003426/0.4104, allocations: 1.704 MB / 0.5588 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.4117, allocations: 0.5971 MB / 0.5594 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.19e-05/0.4118, allocations: 7.938 kB / 0.5594 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.4119, allocations: 11.86 kB / 0.5594 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/0.4119, allocations: 15.81 kB / 0.5594 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.4123, allocations: 63.81 kB / 0.5595 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.4125, allocations: 119.7 kB / 0.5596 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.4126, allocations: 25.23 kB / 0.5596 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.4128, allocations: 59.78 kB / 0.5596 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.4129, allocations: 55.77 kB / 0.5597 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.4129, allocations: 11.94 kB / 0.5597 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.865e-05/0.413, allocations: 16 kB / 0.5597 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.413, allocations: 27.91 kB / 0.5598 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.491e-05/0.4131, allocations: 55.72 kB / 0.5598 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.4133, allocations: 125.8 kB / 0.5599 GB, free: 4.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.4134, allocations: 4 kB / 0.5599 GB, free: 4.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4134, allocations: 0 / 0.5599 GB, free: 4.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.4134, allocations: 0 / 0.5599 GB, free: 4.848 MB / 398.1 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.0008315/0.4142, allocations: 375.5 kB / 0.5603 GB, free: 4.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.4142, allocations: 8.031 kB / 0.5603 GB, free: 4.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.4145, allocations: 24.88 kB / 0.5603 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.4147, allocations: 152.8 kB / 0.5605 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.4147, allocations: 8.375 kB / 0.5605 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.4148, allocations: 16.11 kB / 0.5605 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.415, allocations: 93.59 kB / 0.5606 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.415, allocations: 7.984 kB / 0.5606 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.415, allocations: 0 / 0.5606 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.4151, allocations: 4 kB / 0.5606 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.4152, allocations: 43.97 kB / 0.5606 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006897/0.4159, allocations: 363.6 kB / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.416, allocations: 58.55 kB / 0.561 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.909e-05/0.4161, allocations: 28.97 kB / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.4161, allocations: 0 / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.4164, allocations: 103.3 kB / 0.5612 GB, free: 3.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.4164, allocations: 0 / 0.5612 GB, free: 3.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003883/0.4168, allocations: 129.5 kB / 0.5613 GB, free: 3.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.4168, allocations: 55.41 kB / 0.5613 GB, free: 3.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.4169, allocations: 148 kB / 0.5615 GB, free: 3.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.417, allocations: 38.02 kB / 0.5615 GB, free: 3.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.4171, allocations: 108.2 kB / 0.5616 GB, free: 2.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.4171, allocations: 23.81 kB / 0.5616 GB, free: 2.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.4171, allocations: 33.7 kB / 0.5617 GB, free: 2.891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.4173, allocations: 326.8 kB / 0.562 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.304e-05/0.4174, allocations: 27.98 kB / 0.562 GB, free: 2.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.4175, allocations: 91.58 kB / 0.5621 GB, free: 2.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.4177, allocations: 119.6 kB / 0.5622 GB, free: 2.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4177, allocations: 0 / 0.5622 GB, free: 2.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002828/0.418, allocations: 145.4 kB / 0.5623 GB, free: 2.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.418, allocations: 14.75 kB / 0.5624 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.418, allocations: 0 / 0.5624 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.4181, allocations: 4 kB / 0.5624 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.4182, allocations: 28.2 kB / 0.5624 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.4182, allocations: 3.938 kB / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.4183, allocations: 11.95 kB / 0.5624 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.4183, allocations: 8 kB / 0.5624 GB, free: 2.059 MB / 398.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_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 0.0001396/0.4184, allocations: 129.1 kB / 0.5625 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.4185, allocations: 11.89 kB / 0.5626 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.4185, allocations: 12.72 kB / 0.5626 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4185, allocations: 0 / 0.5626 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4185, allocations: 4 kB / 0.5626 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4185, allocations: 0 / 0.5626 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.4187, allocations: 188.6 kB / 0.5627 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4187, allocations: 0 / 0.5627 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.934e-05/0.4188, allocations: 11.94 kB / 0.5628 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4188, allocations: 3.938 kB / 0.5628 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.4188, allocations: 7.984 kB / 0.5628 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4188, allocations: 0 / 0.5628 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4188, allocations: 0 / 0.5628 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/0.4193, allocations: 176.9 kB / 0.5629 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.4193, allocations: 11.92 kB / 0.5629 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.4193, allocations: 4 kB / 0.563 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.515e-05/0.4194, allocations: 4 kB / 0.563 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.4195, allocations: 11.92 kB / 0.563 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.4195, allocations: 7.984 kB / 0.563 GB, free: 1.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.4196, allocations: 114.1 kB / 0.5631 GB, free: 1.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4196, allocations: 96 / 0.5631 GB, free: 1.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.4198, allocations: 28 kB / 0.5631 GB, free: 1.277 MB / 398.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_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 0.000144/0.42, allocations: 95.77 kB / 0.5632 GB, free: 1.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.4202, allocations: 75.84 kB / 0.5633 GB, free: 1.102 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4202, allocations: 0 / 0.5633 GB, free: 1.102 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.585e-05/0.4203, allocations: 31.92 kB / 0.5633 GB, free: 1.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.4205, allocations: 16.36 kB / 0.5633 GB, free: 1.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006041/0.4211, allocations: 269.6 kB / 0.5636 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.661e-05/0.4212, allocations: 93.05 kB / 0.5637 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.298e-05/0.4213, allocations: 12.48 kB / 0.5637 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.4213, allocations: 19.38 kB / 0.5637 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4213, allocations: 0 / 0.5637 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of Templates: time 0.00429/0.4256, allocations: 1.049 MB / 0.5647 GB, free: 15.57 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 5.412531744688749]