Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009294/0.0009294, allocations: 95.23 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 204.3 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.7 MB / 247.5 MB, free: 9.445 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1891/0.1891, allocations: 46.19 MB / 345.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002385/0.0002386, allocations: 8 kB / 420.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09374/0.09399, allocations: 63.56 MB / 483.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001697/0.09573, allocations: 1.409 MB / 485.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009291/0.09667, allocations: 0.569 MB / 485.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.017e-05/0.09676, allocations: 4 kB / 485.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.725e-05/0.09685, allocations: 7.938 kB / 485.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.922e-05/0.09693, allocations: 15.86 kB / 485.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.09719, allocations: 51.89 kB / 485.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.09734, allocations: 107.7 kB / 485.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.09746, allocations: 29.05 kB / 485.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.09761, allocations: 47.84 kB / 486 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.09772, allocations: 43.77 kB / 486 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.09775, allocations: 7.938 kB / 486 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.123e-05/0.09781, allocations: 8 kB / 486 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/0.09785, allocations: 19.91 kB / 486 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.09792, allocations: 73.38 kB / 486.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.09806, allocations: 92.05 kB / 486.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.09807, allocations: 0 / 486.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.09808, allocations: 0 / 486.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.09809, allocations: 0 / 486.2 MB, free: 1.609 MB / 350.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.0005937/0.09869, allocations: 395.2 kB / 486.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.09874, allocations: 12.03 kB / 486.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.09895, allocations: 24.83 kB / 486.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.09917, allocations: 212 kB / 486.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.09919, allocations: 8.375 kB / 486.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.09923, allocations: 16.11 kB / 486.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.09944, allocations: 97.58 kB / 487 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.09946, allocations: 0 / 487 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.09949, allocations: 8 kB / 487 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.0995, allocations: 3.938 kB / 487 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.09965, allocations: 59.89 kB / 487 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.1002, allocations: 392.5 kB / 487.4 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1004, allocations: 58.56 kB / 487.5 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.398e-05/0.1005, allocations: 32.98 kB / 487.5 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1005, allocations: 0 / 487.5 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.1007, allocations: 103.2 kB / 487.6 MB, free: 56 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.1007, allocations: 4 kB / 487.6 MB, free: 52 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003616/0.1011, allocations: 137.4 kB / 487.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.1011, allocations: 55.41 kB / 487.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.1013, allocations: 141.8 kB / 487.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1013, allocations: 29.7 kB / 488 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.1013, allocations: 108.1 kB / 488.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.1014, allocations: 39.55 kB / 488.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.1014, allocations: 21.7 kB / 488.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.1015, allocations: 318.8 kB / 488.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.709e-05/0.1016, allocations: 31.97 kB / 488.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1017, allocations: 87.66 kB / 488.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.1019, allocations: 127.6 kB / 488.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1019, allocations: 0 / 488.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002559/0.1022, allocations: 145.6 kB / 488.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1022, allocations: 7.938 kB / 488.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.1022, allocations: 4 kB / 488.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1022, allocations: 4 kB / 488.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1024, allocations: 19.98 kB / 488.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.1024, allocations: 4 kB / 488.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.874e-05/0.1025, allocations: 23.77 kB / 488.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1025, allocations: 4 kB / 488.9 MB, free: 14.65 MB / 366.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.0001053/0.1026, allocations: 133.2 kB / 489 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.1026, allocations: 11.94 kB / 489 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.1027, allocations: 20.69 kB / 489 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1027, allocations: 0 / 489 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1027, allocations: 0 / 489 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1027, allocations: 0 / 489 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.1028, allocations: 201.6 kB / 489.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1028, allocations: 0 / 489.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.501e-05/0.1029, allocations: 24.23 kB / 489.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.103, allocations: 7.938 kB / 489.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.103, allocations: 8 kB / 489.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.103, allocations: 0 / 489.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.103, allocations: 3.938 kB / 489.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.1033, allocations: 176.8 kB / 489.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.1034, allocations: 84.95 kB / 489.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.1034, allocations: 8.094 kB / 489.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.1035, allocations: 7.984 kB / 489.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.1035, allocations: 4 kB / 489.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.1035, allocations: 7.984 kB / 489.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.993e-05/0.1036, allocations: 110.5 kB / 489.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1036, allocations: 0 / 489.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000228/0.1038, allocations: 23.94 kB / 489.7 MB, free: 13.75 MB / 366.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 9.154e-05/0.1039, allocations: 99.77 kB / 489.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.1041, allocations: 79.84 kB / 489.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1042, allocations: 0 / 489.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.956e-05/0.1043, allocations: 39.92 kB / 489.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.1045, allocations: 19.92 kB / 489.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.1049, allocations: 333.8 kB / 490.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.1052, allocations: 0.7085 MB / 491 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.1052, allocations: 19.42 kB / 491 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1053, allocations: 0 / 491 MB, free: 12.39 MB / 366.1 MB Notification: Performance of Templates: time 0.002732/0.108, allocations: 1.407 MB / 492.4 MB, free: 10.98 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches