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.001212/0.001212, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1913/0.1913, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 71.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/0.09424, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002763/0.09704, allocations: 1.679 MB / 483.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000924/0.09798, allocations: 0.5882 MB / 483.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.09807, allocations: 0 / 483.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.028e-05/0.09818, allocations: 19.8 kB / 483.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.23e-05/0.09825, allocations: 15.81 kB / 483.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.09854, allocations: 67.81 kB / 483.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.0987, allocations: 123.7 kB / 484 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.09884, allocations: 29.09 kB / 484 MB, free: 2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.09899, allocations: 59.7 kB / 484 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.09911, allocations: 43.78 kB / 484.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.381e-05/0.09914, allocations: 16 kB / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.552e-05/0.0992, allocations: 20 kB / 484.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.09925, allocations: 31.89 kB / 484.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.748e-05/0.09932, allocations: 47.73 kB / 484.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.09949, allocations: 127.5 kB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09951, allocations: 0 / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09951, allocations: 0 / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.09952, allocations: 0 / 484.3 MB, free: 1.66 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.0006326/0.1002, allocations: 423 kB / 484.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.1002, allocations: 12.03 kB / 484.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.1004, allocations: 20.83 kB / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.1006, allocations: 215.8 kB / 485 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1006, allocations: 8.375 kB / 485 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.1007, allocations: 12.12 kB / 485 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.1009, allocations: 97.58 kB / 485.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1009, allocations: 0 / 485.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.1009, allocations: 8 kB / 485.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1009, allocations: 7.984 kB / 485.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.1011, allocations: 51.91 kB / 485.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.1016, allocations: 380.5 kB / 485.5 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.1017, allocations: 58.56 kB / 485.6 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.983e-05/0.1018, allocations: 28.98 kB / 485.6 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.1018, allocations: 11.97 kB / 485.6 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.102, allocations: 99.28 kB / 485.7 MB, free: 96 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.102, allocations: 3.938 kB / 485.7 MB, free: 92 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003039/0.1023, allocations: 129.4 kB / 485.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.1023, allocations: 59.77 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1025, allocations: 141.8 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1025, allocations: 29.7 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.1026, allocations: 104.1 kB / 486.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.1026, allocations: 39.48 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.1026, allocations: 33.7 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1027, allocations: 322.8 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.636e-05/0.1028, allocations: 27.98 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.99e-05/0.1029, allocations: 79.66 kB / 486.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.1031, allocations: 123.6 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1031, allocations: 4 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002215/0.1033, allocations: 141.4 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1034, allocations: 7.938 kB / 486.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.1034, allocations: 4 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1034, allocations: 0 / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1035, allocations: 23.98 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1035, allocations: 7.938 kB / 487 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.17e-05/0.1036, allocations: 16.05 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1036, allocations: 8 kB / 487 MB, free: 14.7 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 8.528e-05/0.1037, allocations: 128.1 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.1037, allocations: 11.84 kB / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.1038, allocations: 16.7 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1038, allocations: 0 / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1038, allocations: 0 / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1038, allocations: 0 / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.1039, allocations: 205.6 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.104, allocations: 4 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.332e-05/0.1041, allocations: 19.92 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1041, allocations: 7.938 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1041, allocations: 0 / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1041, allocations: 0 / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1041, allocations: 0 / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.1044, allocations: 168.9 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.1044, allocations: 96.95 kB / 487.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1045, allocations: 4 kB / 487.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-05/0.1045, allocations: 7.984 kB / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.1046, allocations: 8 kB / 487.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.1046, allocations: 4.078 kB / 487.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.438e-05/0.1047, allocations: 114.8 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1047, allocations: 0 / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.1049, allocations: 23.94 kB / 487.8 MB, free: 13.8 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 8.617e-05/0.105, allocations: 107.3 kB / 487.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.1052, allocations: 75.84 kB / 488 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1052, allocations: 0 / 488 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.347e-05/0.1053, allocations: 35.92 kB / 488 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.1055, allocations: 15.92 kB / 488 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.1059, allocations: 261.9 kB / 488.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.1061, allocations: 0.708 MB / 489 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.034e-05/0.1062, allocations: 8.547 kB / 489 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.1062, allocations: 15.44 kB / 489 MB, free: 12.53 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1062, allocations: 0 / 489 MB, free: 12.53 MB / 366.1 MB Notification: Performance of Templates: time 0.002918/0.1092, allocations: 0.9914 MB / 490 MB, free: 11.54 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 -s gbode -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