Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001819/0.001819, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002556/0.002556, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 230.2 MB / 257.8 MB, free: 8.488 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2346/0.2346, allocations: 46.9 MB / 361.1 MB, free: 4.613 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 79.88 kB / 0.4967 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3429, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003296/0.3462, allocations: 1.708 MB / 0.5629 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.3474, allocations: 0.6009 MB / 0.5634 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.49e-05/0.3474, allocations: 4 kB / 0.5634 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.3476, allocations: 7.875 kB / 0.5635 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.938e-05/0.3476, allocations: 23.8 kB / 0.5635 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.348, allocations: 63.81 kB / 0.5635 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.3482, allocations: 119.6 kB / 0.5637 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.3483, allocations: 21.11 kB / 0.5637 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.3485, allocations: 59.77 kB / 0.5637 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.3486, allocations: 47.77 kB / 0.5638 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.3486, allocations: 12 kB / 0.5638 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.647e-05/0.3487, allocations: 20 kB / 0.5638 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.3487, allocations: 27.91 kB / 0.5638 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.886e-05/0.3488, allocations: 51.73 kB / 0.5639 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.349, allocations: 130.1 kB / 0.564 GB, free: 2.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.349, allocations: 0 / 0.564 GB, free: 2.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.349, allocations: 0 / 0.564 GB, free: 2.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.349, allocations: 0 / 0.564 GB, free: 2.102 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.001007/0.3501, allocations: 452.6 kB / 0.5644 GB, free: 1.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.3501, allocations: 8.031 kB / 0.5644 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.3504, allocations: 24.88 kB / 0.5645 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.3507, allocations: 216.7 kB / 0.5647 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.3507, allocations: 12.36 kB / 0.5647 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.3508, allocations: 8.125 kB / 0.5647 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.351, allocations: 97.58 kB / 0.5648 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.351, allocations: 0 / 0.5648 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3511, allocations: 4 kB / 0.5648 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3511, allocations: 4 kB / 0.5648 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.3512, allocations: 47.97 kB / 0.5648 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.3519, allocations: 392.5 kB / 0.5652 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.3521, allocations: 54.56 kB / 0.5653 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.26e-05/0.3522, allocations: 28.98 kB / 0.5653 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.3522, allocations: 4 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.3524, allocations: 103.2 kB / 0.5654 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3524, allocations: 0 / 0.5654 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004052/0.3528, allocations: 129.5 kB / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.3529, allocations: 59.34 kB / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.353, allocations: 153.2 kB / 0.5657 GB, free: 148 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.3531, allocations: 33.69 kB / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/0.3532, allocations: 100.2 kB / 0.5659 GB, free: 4 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.3532, allocations: 27.84 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.3533, allocations: 37.66 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3535, allocations: 322.8 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.3535, allocations: 23.98 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.3537, allocations: 87.31 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.3539, allocations: 127.6 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3539, allocations: 4 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002632/0.3541, allocations: 137.6 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3542, allocations: 7.938 kB / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3542, allocations: 7.984 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.3542, allocations: 4 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3543, allocations: 23.98 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.3543, allocations: 7.938 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.497e-05/0.3544, allocations: 11.89 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.3544, allocations: 4 kB / 0.5667 GB, free: 15.11 MB / 414.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.0001349/0.3545, allocations: 125.9 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.3546, allocations: 15.89 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.3546, allocations: 16.7 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3546, allocations: 0 / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.3546, allocations: 4 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3546, allocations: 0 / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.3548, allocations: 205.9 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3548, allocations: 0 / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.3549, allocations: 15.92 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.355, allocations: 7.938 kB / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.355, allocations: 11.94 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.355, allocations: 0 / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.355, allocations: 4 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.3553, allocations: 168.9 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.3554, allocations: 93.02 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.3554, allocations: 3.938 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.3555, allocations: 4 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.3556, allocations: 16.05 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.3556, allocations: 4 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.736e-05/0.3557, allocations: 107.2 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3557, allocations: 0 / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.3559, allocations: 20 kB / 0.5674 GB, free: 14.21 MB / 414.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.0001716/0.356, allocations: 99.25 kB / 0.5675 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.3563, allocations: 76.08 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3563, allocations: 4 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.725e-05/0.3564, allocations: 31.92 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.3566, allocations: 15.94 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.3571, allocations: 265.6 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.3575, allocations: 0.7118 MB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.175e-05/0.3576, allocations: 24.33 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.3576, allocations: 11.44 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3576, allocations: 0 / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of Templates: time 0.004341/0.362, allocations: 1.023 MB / 0.5696 GB, free: 11.89 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.145357454195619]