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.001265/0.001265, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001488/0.001488, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.505/1.505, allocations: 230.6 MB / 258.2 MB, free: 8.242 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.2519/0.2519, allocations: 44.91 MB / 359.6 MB, free: 6.34 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.002071/0.002071, allocations: 63.91 kB / 0.4943 GB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4048, allocations: 65.46 MB / 0.5582 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003268/0.4081, allocations: 1.71 MB / 0.5599 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.4092, allocations: 0.5971 MB / 0.5605 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.4093, allocations: 7.938 kB / 0.5605 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.4094, allocations: 11.86 kB / 0.5605 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.305e-05/0.4095, allocations: 23.73 kB / 0.5605 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.4098, allocations: 67.8 kB / 0.5606 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.41, allocations: 111.7 kB / 0.5607 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.4101, allocations: 21.3 kB / 0.5607 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.4103, allocations: 67.77 kB / 0.5608 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.4104, allocations: 47.78 kB / 0.5608 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.4104, allocations: 8 kB / 0.5608 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.234e-05/0.4105, allocations: 23.97 kB / 0.5609 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.4106, allocations: 23.92 kB / 0.5609 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.109e-05/0.4106, allocations: 51.73 kB / 0.5609 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.4109, allocations: 133.8 kB / 0.5611 GB, free: 4.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4109, allocations: 0 / 0.5611 GB, free: 4.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4109, allocations: 0 / 0.5611 GB, free: 4.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.4109, allocations: 0 / 0.5611 GB, free: 4.852 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.0007648/0.4116, allocations: 375.5 kB / 0.5614 GB, free: 4.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.4117, allocations: 8.031 kB / 0.5614 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.4119, allocations: 24.88 kB / 0.5614 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.4121, allocations: 148.6 kB / 0.5616 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.4121, allocations: 8.375 kB / 0.5616 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.4122, allocations: 16.12 kB / 0.5616 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.4124, allocations: 100.8 kB / 0.5617 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.4124, allocations: 4 kB / 0.5617 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.4124, allocations: 0 / 0.5617 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4124, allocations: 0 / 0.5617 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.4126, allocations: 47.97 kB / 0.5618 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/0.4132, allocations: 363.6 kB / 0.5621 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.4134, allocations: 62.48 kB / 0.5622 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.499e-05/0.4135, allocations: 24.98 kB / 0.5622 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.4135, allocations: 0 / 0.5622 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/0.4137, allocations: 99.28 kB / 0.5623 GB, free: 3.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.4137, allocations: 7.938 kB / 0.5623 GB, free: 3.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003488/0.414, allocations: 129.5 kB / 0.5624 GB, free: 3.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.4141, allocations: 55.41 kB / 0.5625 GB, free: 3.262 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.4142, allocations: 148.6 kB / 0.5626 GB, free: 3.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.4143, allocations: 29.7 kB / 0.5626 GB, free: 3.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.578e-05/0.4143, allocations: 112.2 kB / 0.5627 GB, free: 2.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.4144, allocations: 31.78 kB / 0.5628 GB, free: 2.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.773e-05/0.4144, allocations: 29.72 kB / 0.5628 GB, free: 2.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.4146, allocations: 322.8 kB / 0.5631 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-05/0.4147, allocations: 23.98 kB / 0.5631 GB, free: 2.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.4148, allocations: 91.58 kB / 0.5632 GB, free: 2.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.415, allocations: 131.6 kB / 0.5633 GB, free: 2.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.415, allocations: 0 / 0.5633 GB, free: 2.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002728/0.4153, allocations: 137.4 kB / 0.5635 GB, free: 2.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4153, allocations: 11.94 kB / 0.5635 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4153, allocations: 0 / 0.5635 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.4153, allocations: 4 kB / 0.5635 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.4155, allocations: 23.98 kB / 0.5635 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.4155, allocations: 12.16 kB / 0.5635 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.419e-05/0.4156, allocations: 11.95 kB / 0.5635 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.4156, allocations: 11.98 kB / 0.5636 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.000118/0.4157, allocations: 121.8 kB / 0.5637 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.4157, allocations: 11.89 kB / 0.5637 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.4158, allocations: 9.094 kB / 0.5637 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4158, allocations: 4 kB / 0.5637 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4158, allocations: 3.984 kB / 0.5637 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4158, allocations: 4 kB / 0.5637 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.416, allocations: 184.6 kB / 0.5639 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.416, allocations: 0 / 0.5639 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.81e-05/0.4161, allocations: 11.94 kB / 0.5639 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.4161, allocations: 7.922 kB / 0.5639 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.4161, allocations: 0 / 0.5639 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4161, allocations: 4 kB / 0.5639 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4161, allocations: 0 / 0.5639 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.4164, allocations: 176.9 kB / 0.5641 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.4165, allocations: 11.92 kB / 0.5641 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.4165, allocations: 4 kB / 0.5641 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.4166, allocations: 7.984 kB / 0.5641 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.4166, allocations: 0 / 0.5641 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.4166, allocations: 7.984 kB / 0.5641 GB, free: 1.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.4167, allocations: 107.3 kB / 0.5642 GB, free: 1.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4167, allocations: 4 kB / 0.5642 GB, free: 1.316 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.4169, allocations: 16 kB / 0.5642 GB, free: 1.301 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.0001135/0.4171, allocations: 103.8 kB / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.4173, allocations: 75.84 kB / 0.5644 GB, free: 1.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4173, allocations: 0 / 0.5644 GB, free: 1.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.129e-05/0.4174, allocations: 35.91 kB / 0.5644 GB, free: 1.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.4176, allocations: 16.16 kB / 0.5644 GB, free: 1.066 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006294/0.4182, allocations: 303.7 kB / 0.5647 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.4186, allocations: 0.7041 MB / 0.5654 GB, free: 8 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.4187, allocations: 15.44 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4187, allocations: 0 / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Templates: time 0.003346/0.422, allocations: 1.439 MB / 0.5668 GB, free: 14.55 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/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: 7.755978447850794]