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.0013/0.0013, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.9 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2017/0.2017, allocations: 46.1 MB / 344.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 81.11 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1056, allocations: 62.44 MB / 479.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002997/0.1087, allocations: 1.756 MB / 481.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009346/0.1096, allocations: 0.5805 MB / 482.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.1097, allocations: 8 kB / 482.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.432e-05/0.1098, allocations: 7.922 kB / 482.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.263e-05/0.1099, allocations: 11.88 kB / 482.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.1101, allocations: 55.88 kB / 482.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.1102, allocations: 107.7 kB / 482.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1104, allocations: 33.11 kB / 482.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.1105, allocations: 51.78 kB / 482.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1106, allocations: 47.7 kB / 482.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.1106, allocations: 4 kB / 482.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.377e-05/0.1107, allocations: 16 kB / 482.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.415e-05/0.1107, allocations: 19.92 kB / 482.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.687e-05/0.1108, allocations: 47.72 kB / 482.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1109, allocations: 92.08 kB / 482.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.111, allocations: 0 / 482.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.42e-07/0.111, allocations: 3.938 kB / 482.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.111, allocations: 0 / 482.8 MB, free: 2.887 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.000647/0.1116, allocations: 419 kB / 483.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1117, allocations: 8.031 kB / 483.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.1119, allocations: 24.83 kB / 483.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.1121, allocations: 212.2 kB / 483.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1121, allocations: 8.375 kB / 483.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.1121, allocations: 12.12 kB / 483.4 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.1123, allocations: 93.64 kB / 483.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1124, allocations: 0 / 483.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.1124, allocations: 11.88 kB / 483.5 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1124, allocations: 4 kB / 483.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.1125, allocations: 47.91 kB / 483.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005584/0.1131, allocations: 400.4 kB / 484 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1133, allocations: 54.56 kB / 484 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.716e-05/0.1133, allocations: 24.98 kB / 484 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1134, allocations: 4 kB / 484.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.1136, allocations: 103.3 kB / 484.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.1136, allocations: 0 / 484.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003239/0.1139, allocations: 133.4 kB / 484.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.114, allocations: 59.41 kB / 484.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1141, allocations: 141.8 kB / 484.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1141, allocations: 29.7 kB / 484.5 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.1142, allocations: 112.1 kB / 484.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.1142, allocations: 31.55 kB / 484.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.1143, allocations: 33.7 kB / 484.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1144, allocations: 318.8 kB / 485 MB, free: 444 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.589e-05/0.1145, allocations: 27.98 kB / 485 MB, free: 416 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1146, allocations: 90.52 kB / 485.1 MB, free: 300 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.1148, allocations: 115.6 kB / 485.2 MB, free: 156 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1148, allocations: 4 kB / 485.2 MB, free: 152 kB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002484/0.1151, allocations: 141.4 kB / 485.4 MB, free: 4 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.1151, allocations: 7.984 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1151, allocations: 8.156 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1151, allocations: 4 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.1153, allocations: 27.94 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1153, allocations: 4 kB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.898e-05/0.1154, allocations: 15.84 kB / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1154, allocations: 4 kB / 485.4 MB, free: 15.93 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.0001009/0.1155, allocations: 129.8 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.1155, allocations: 11.84 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.1156, allocations: 16.81 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1156, allocations: 3.984 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1156, allocations: 0 / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1156, allocations: 0 / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.1158, allocations: 205.6 kB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1158, allocations: 3.938 kB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.1159, allocations: 11.98 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1159, allocations: 3.938 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.1159, allocations: 4 kB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1159, allocations: 3.938 kB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1159, allocations: 0 / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.1163, allocations: 173.2 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.1163, allocations: 96.88 kB / 486.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.1163, allocations: 0 / 486.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.1164, allocations: 8 kB / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.1165, allocations: 7.984 kB / 486.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.1165, allocations: 0 / 486.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.6e-05/0.1166, allocations: 122.5 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1166, allocations: 0 / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.1168, allocations: 19.94 kB / 486.2 MB, free: 15.04 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 0.0001022/0.1169, allocations: 95.78 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.1171, allocations: 83.83 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1171, allocations: 0 / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.67e-05/0.1172, allocations: 36.36 kB / 486.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.1174, allocations: 19.86 kB / 486.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.118, allocations: 317 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.1182, allocations: 0.716 MB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/0.1183, allocations: 15.44 kB / 487.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1183, allocations: 0 / 487.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of Templates: time 0.002896/0.1212, allocations: 1.414 MB / 488.9 MB, free: 12.28 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