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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001514/0.001514, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.00151, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 230.2 MB / 250.8 MB, free: 8.781 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2076/0.2076, allocations: 46.89 MB / 351.8 MB, free: 7.316 MB / 286.1 MB 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.002187/0.002187, allocations: 79.86 kB / 496.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2928, allocations: 65.98 MB / 0.5493 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002747/0.2955, allocations: 1.697 MB / 0.5509 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2965, allocations: 0.5921 MB / 0.5515 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.2966, allocations: 4 kB / 0.5515 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.128e-05/0.2967, allocations: 11.81 kB / 0.5515 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.832e-05/0.2967, allocations: 19.86 kB / 0.5515 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.297, allocations: 67.8 kB / 0.5516 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.2972, allocations: 123.6 kB / 0.5517 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2973, allocations: 21.11 kB / 0.5517 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.2974, allocations: 59.78 kB / 0.5518 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.2975, allocations: 51.77 kB / 0.5518 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.2976, allocations: 8 kB / 0.5519 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.268e-05/0.2976, allocations: 16 kB / 0.5519 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.945e-05/0.2977, allocations: 27.91 kB / 0.5519 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.973e-05/0.2977, allocations: 59.72 kB / 0.552 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.2979, allocations: 124 kB / 0.5521 GB, free: 2.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2979, allocations: 0 / 0.5521 GB, free: 2.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2979, allocations: 0 / 0.5521 GB, free: 2.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.2979, allocations: 3.938 kB / 0.5521 GB, free: 2.605 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.0007122/0.2987, allocations: 422.9 kB / 0.5525 GB, free: 2.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.2987, allocations: 12.03 kB / 0.5525 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.2989, allocations: 24.88 kB / 0.5525 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.2991, allocations: 215.7 kB / 0.5527 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.2991, allocations: 8.375 kB / 0.5527 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.2992, allocations: 16.12 kB / 0.5527 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.2994, allocations: 85.64 kB / 0.5528 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2994, allocations: 0 / 0.5528 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.2994, allocations: 8 kB / 0.5528 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2994, allocations: 3.938 kB / 0.5528 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.2996, allocations: 51.97 kB / 0.5529 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.3001, allocations: 392.5 kB / 0.5533 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.3003, allocations: 58.48 kB / 0.5533 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.722e-05/0.3003, allocations: 28.98 kB / 0.5533 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3003, allocations: 4 kB / 0.5533 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.3006, allocations: 103.3 kB / 0.5534 GB, free: 1.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.3006, allocations: 0 / 0.5534 GB, free: 1.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003228/0.3009, allocations: 125.8 kB / 0.5536 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.3009, allocations: 55.41 kB / 0.5536 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3011, allocations: 149.9 kB / 0.5538 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.3011, allocations: 33.64 kB / 0.5538 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.3012, allocations: 116.1 kB / 0.5539 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.3012, allocations: 19.84 kB / 0.5539 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.3012, allocations: 29.72 kB / 0.554 GB, free: 488 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3014, allocations: 326.8 kB / 0.5543 GB, free: 152 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-05/0.3015, allocations: 23.98 kB / 0.5543 GB, free: 128 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3016, allocations: 90.59 kB / 0.5544 GB, free: 12 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.3018, allocations: 123.7 kB / 0.5545 GB, free: 15.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3018, allocations: 0 / 0.5545 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00026/0.3021, allocations: 149.5 kB / 0.5546 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3021, allocations: 7.938 kB / 0.5546 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3021, allocations: 4 kB / 0.5546 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3021, allocations: 4 kB / 0.5546 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.3022, allocations: 23.92 kB / 0.5547 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3022, allocations: 4 kB / 0.5547 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.233e-05/0.3023, allocations: 7.953 kB / 0.5547 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.3023, allocations: 12 kB / 0.5547 GB, free: 15.64 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.0001195/0.3024, allocations: 133.8 kB / 0.5548 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.3024, allocations: 15.89 kB / 0.5548 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.3025, allocations: 8.719 kB / 0.5548 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3025, allocations: 4 kB / 0.5548 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3025, allocations: 0 / 0.5548 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3025, allocations: 3.984 kB / 0.5549 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.3027, allocations: 213.5 kB / 0.5551 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3027, allocations: 0 / 0.5551 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.36e-05/0.3028, allocations: 12 kB / 0.5551 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3028, allocations: 3.938 kB / 0.5551 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3028, allocations: 7.984 kB / 0.5551 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3028, allocations: 7.812 kB / 0.5551 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3028, allocations: 3.938 kB / 0.5551 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.3031, allocations: 172.9 kB / 0.5553 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.3032, allocations: 89.03 kB / 0.5553 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.3032, allocations: 4 kB / 0.5553 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.3033, allocations: 8.156 kB / 0.5554 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.3033, allocations: 11.92 kB / 0.5554 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.3034, allocations: 4 kB / 0.5554 GB, free: 14.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.622e-05/0.3035, allocations: 110.6 kB / 0.5555 GB, free: 14.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3035, allocations: 0 / 0.5555 GB, free: 14.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.3037, allocations: 20 kB / 0.5555 GB, free: 14.73 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.0001145/0.3038, allocations: 107.3 kB / 0.5556 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.304, allocations: 75.84 kB / 0.5557 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.304, allocations: 0 / 0.5557 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.203e-05/0.3041, allocations: 31.92 kB / 0.5557 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.3043, allocations: 19.92 kB / 0.5557 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.3048, allocations: 265.1 kB / 0.556 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.3052, allocations: 0.7045 MB / 0.5567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.023e-05/0.3052, allocations: 16.41 kB / 0.5567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.3053, allocations: 11.44 kB / 0.5567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3053, allocations: 4 kB / 0.5567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of Templates: time 0.003747/0.309, allocations: 1.023 MB / 0.5577 GB, free: 12.43 MB / 414.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches