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.001664/0.001664, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001964/0.001964, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 81.64 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1161, allocations: 62.44 MB / 480 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003098/0.1192, allocations: 1.691 MB / 481.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1204, allocations: 0.5921 MB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.1205, allocations: 0 / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.599e-05/0.1206, allocations: 7.875 kB / 482.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.883e-05/0.1207, allocations: 19.8 kB / 482.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.121, allocations: 67.8 kB / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1211, allocations: 111.7 kB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.1213, allocations: 37.09 kB / 482.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.1215, allocations: 59.7 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1216, allocations: 47.78 kB / 482.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.1216, allocations: 8 kB / 482.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.464e-05/0.1217, allocations: 27.98 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.14e-05/0.1217, allocations: 27.91 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.461e-05/0.1218, allocations: 47.73 kB / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.122, allocations: 119.9 kB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.122, allocations: 0 / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.122, allocations: 0 / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.122, allocations: 0 / 482.9 MB, free: 2.43 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.0006912/0.1227, allocations: 430.9 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1228, allocations: 8.031 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.123, allocations: 28.81 kB / 483.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.1232, allocations: 216.2 kB / 483.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1232, allocations: 4.375 kB / 483.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.1233, allocations: 12.12 kB / 483.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.1235, allocations: 100.3 kB / 483.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1235, allocations: 0 / 483.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.1235, allocations: 0 / 483.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-06/0.1236, allocations: 4 kB / 483.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1237, allocations: 59.83 kB / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.1243, allocations: 388.5 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.1244, allocations: 62.55 kB / 484.1 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.496e-05/0.1245, allocations: 24.98 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.1245, allocations: 8 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.1248, allocations: 99.28 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.665e-06/0.1248, allocations: 3.984 kB / 484.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003379/0.1251, allocations: 129.4 kB / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.1252, allocations: 55.41 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.1253, allocations: 145.8 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1253, allocations: 25.7 kB / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/0.1254, allocations: 112.1 kB / 484.7 MB, free: 364 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.1254, allocations: 31.55 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.1255, allocations: 29.72 kB / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1256, allocations: 322.8 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-05/0.1257, allocations: 23.98 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1258, allocations: 87.7 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.126, allocations: 120 kB / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.126, allocations: 4 kB / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002575/0.1263, allocations: 137.4 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1263, allocations: 8.156 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1263, allocations: 11.94 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1264, allocations: 0 / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1265, allocations: 27.92 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1265, allocations: 4 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.442e-05/0.1266, allocations: 15.84 kB / 485.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1266, allocations: 7.984 kB / 485.5 MB, free: 15.46 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.0001025/0.1267, allocations: 125.8 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.1268, allocations: 11.84 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.1268, allocations: 20.66 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1268, allocations: 0 / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1268, allocations: 3.984 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1268, allocations: 0 / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.127, allocations: 209.6 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.127, allocations: 0 / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.232e-05/0.1271, allocations: 8 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1271, allocations: 7.922 kB / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1271, allocations: 8 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1271, allocations: 0 / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.1272, allocations: 4 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.1275, allocations: 160.9 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.1275, allocations: 96.83 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1276, allocations: 4 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.1276, allocations: 7.984 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.1277, allocations: 4 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.1277, allocations: 7.984 kB / 486.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.876e-05/0.1278, allocations: 114.3 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1278, allocations: 0 / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.1281, allocations: 23.94 kB / 486.3 MB, free: 14.57 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.0001121/0.1282, allocations: 103.3 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.1284, allocations: 83.88 kB / 486.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1284, allocations: 448 / 486.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.79e-05/0.1285, allocations: 39.92 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.1287, allocations: 18.42 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005557/0.1293, allocations: 261.5 kB / 486.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.1296, allocations: 0.7041 MB / 487.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.141e-05/0.1297, allocations: 12.55 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.1297, allocations: 11.44 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1297, allocations: 4 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of Templates: time 0.003646/0.1334, allocations: 0.9984 MB / 488.6 MB, free: 12.29 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches