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.001744/0.001744, allocations: 114 kB / 21.18 MB, free: 0.7422 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.002063/0.002063, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.405/1.405, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2166/0.2166, allocations: 46.89 MB / 361.1 MB, free: 4.621 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.002279/0.002279, allocations: 79.86 kB / 0.4967 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2954, allocations: 66 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003348/0.2988, allocations: 1.708 MB / 0.5629 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.3, allocations: 0.5932 MB / 0.5634 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.914e-05/0.3001, allocations: 0 / 0.5634 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.3002, allocations: 19.73 kB / 0.5635 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.988e-05/0.3003, allocations: 19.88 kB / 0.5635 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.3007, allocations: 63.8 kB / 0.5635 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.3009, allocations: 119.6 kB / 0.5637 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.301, allocations: 21.11 kB / 0.5637 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.3012, allocations: 63.77 kB / 0.5637 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.3013, allocations: 47.78 kB / 0.5638 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.3014, allocations: 8 kB / 0.5638 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.3014, allocations: 19.98 kB / 0.5638 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.3015, allocations: 27.91 kB / 0.5638 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.888e-05/0.3016, allocations: 55.73 kB / 0.5639 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3018, allocations: 126.1 kB / 0.564 GB, free: 2.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3018, allocations: 0 / 0.564 GB, free: 2.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3018, allocations: 3.938 kB / 0.564 GB, free: 2.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.3018, allocations: 0 / 0.564 GB, free: 2.109 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.0007862/0.3026, allocations: 440.6 kB / 0.5644 GB, free: 1.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3026, allocations: 12.03 kB / 0.5644 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.3028, allocations: 28.81 kB / 0.5645 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.3031, allocations: 220.7 kB / 0.5647 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3031, allocations: 8.375 kB / 0.5647 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.3031, allocations: 16.12 kB / 0.5647 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.3034, allocations: 89.64 kB / 0.5648 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3034, allocations: 0 / 0.5648 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.3034, allocations: 4 kB / 0.5648 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3034, allocations: 0 / 0.5648 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.3036, allocations: 59.89 kB / 0.5648 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.3042, allocations: 384.5 kB / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.3043, allocations: 58.48 kB / 0.5653 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.907e-05/0.3044, allocations: 28.98 kB / 0.5653 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.3044, allocations: 4 kB / 0.5653 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.3046, allocations: 103.2 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3046, allocations: 0 / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003443/0.3049, allocations: 125.5 kB / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.305, allocations: 63.39 kB / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3051, allocations: 145.8 kB / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3051, allocations: 29.7 kB / 0.5657 GB, free: 124 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.3052, allocations: 112.2 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.3053, allocations: 23.8 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.3053, allocations: 33.7 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3055, allocations: 318.8 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.3055, allocations: 27.97 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.3057, allocations: 83.33 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.3059, allocations: 127.6 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3059, allocations: 0 / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002651/0.3061, allocations: 145.5 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3061, allocations: 10.44 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3061, allocations: 4 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3062, allocations: 4.094 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.3063, allocations: 27.91 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.3063, allocations: 4 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.251e-05/0.3064, allocations: 19.88 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.3064, allocations: 8 kB / 0.5667 GB, free: 15.12 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.0001105/0.3065, allocations: 129.9 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.3065, allocations: 15.89 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.615e-05/0.3066, allocations: 8.719 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.3066, allocations: 3.984 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3066, allocations: 0 / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.3066, allocations: 89 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.3067, allocations: 4 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.555e-05/0.3067, allocations: 4 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.3068, allocations: 7.984 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003392/0.3071, allocations: 200.8 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004025/0.3075, allocations: 318.6 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.465e-05/0.3076, allocations: 32 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.297e-05/0.3077, allocations: 118.6 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of Backend: time 2.6e-07/0.3077, allocations: 4.062 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004653/0.3082, allocations: 130.4 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of SimCode: time 0.000702/0.3089, allocations: 0.7054 MB / 0.5684 GB, free: 13.26 MB / 414.1 MB Notification: Performance of Templates: time 0.004361/0.3132, allocations: 1.27 MB / 0.5696 GB, free: 11.99 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 -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: 4.78949856525287]