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.00142/0.00142, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.11 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 78.47 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1272, allocations: 62.45 MB / 480.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003205/0.1305, allocations: 1.697 MB / 482.5 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1316, allocations: 0.5882 MB / 483 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.739e-05/0.1317, allocations: 4 kB / 483 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.1318, allocations: 11.86 kB / 483.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.1319, allocations: 11.81 kB / 483.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.1322, allocations: 71.8 kB / 483.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1324, allocations: 111.7 kB / 483.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.1325, allocations: 37.11 kB / 483.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.1327, allocations: 55.72 kB / 483.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.1328, allocations: 47.77 kB / 483.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.1329, allocations: 12 kB / 483.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.543e-05/0.133, allocations: 20 kB / 483.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.133, allocations: 31.91 kB / 483.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.924e-05/0.1331, allocations: 47.73 kB / 483.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.1333, allocations: 115.9 kB / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1333, allocations: 0 / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.1333, allocations: 0 / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1333, allocations: 7.938 kB / 483.6 MB, free: 2.391 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.0008192/0.1342, allocations: 427 kB / 484 MB, free: 1.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1342, allocations: 8.031 kB / 484 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.1344, allocations: 24.83 kB / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1347, allocations: 215.6 kB / 484.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1347, allocations: 8.359 kB / 484.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.1347, allocations: 16.12 kB / 484.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.135, allocations: 93.64 kB / 484.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.135, allocations: 0 / 484.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.135, allocations: 7.938 kB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.135, allocations: 3.938 kB / 484.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.1352, allocations: 55.91 kB / 484.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006394/0.1358, allocations: 392.4 kB / 484.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.136, allocations: 54.56 kB / 484.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.363e-05/0.1361, allocations: 24.98 kB / 484.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.1361, allocations: 0 / 484.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.1363, allocations: 103.3 kB / 485 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.1363, allocations: 0 / 485 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003753/0.1367, allocations: 137.4 kB / 485.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.1368, allocations: 51.41 kB / 485.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1369, allocations: 145.8 kB / 485.3 MB, free: 480 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.137, allocations: 29.7 kB / 485.4 MB, free: 444 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1371, allocations: 112.1 kB / 485.5 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.1371, allocations: 27.56 kB / 485.5 MB, free: 300 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/0.1372, allocations: 29.7 kB / 485.5 MB, free: 264 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.1374, allocations: 326.8 kB / 485.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.488e-05/0.1375, allocations: 19.98 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.1376, allocations: 90.38 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.1379, allocations: 119.6 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1379, allocations: 0 / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002734/0.1381, allocations: 145.4 kB / 486.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1382, allocations: 18.66 kB / 486.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1382, allocations: 0 / 486.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1382, allocations: 7.938 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1383, allocations: 19.98 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.1384, allocations: 4 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.607e-05/0.1385, allocations: 16.22 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1385, allocations: 8 kB / 486.3 MB, free: 15.43 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.0001281/0.1386, allocations: 129.8 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.1386, allocations: 11.84 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.1387, allocations: 20.59 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1387, allocations: 4 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1387, allocations: 0 / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1387, allocations: 0 / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.1389, allocations: 205.6 kB / 486.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1389, allocations: 0 / 486.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-05/0.139, allocations: 19.98 kB / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1391, allocations: 3.938 kB / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1391, allocations: 0 / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/0.1391, allocations: 0 / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1391, allocations: 11.94 kB / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.1394, allocations: 165 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.1395, allocations: 92.84 kB / 486.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.1396, allocations: 8 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.1396, allocations: 0 / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.1397, allocations: 7.984 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.1397, allocations: 12.06 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.834e-05/0.1398, allocations: 110.6 kB / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1398, allocations: 0 / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.14, allocations: 23.94 kB / 487.1 MB, free: 14.53 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.0001387/0.1402, allocations: 95.25 kB / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.1404, allocations: 79.83 kB / 487.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1404, allocations: 448 / 487.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.1405, allocations: 44.02 kB / 487.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.1408, allocations: 20.05 kB / 487.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006576/0.1414, allocations: 283.2 kB / 487.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.1419, allocations: 0.708 MB / 488.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.1419, allocations: 15.44 kB / 488.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1419, allocations: 0 / 488.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of Templates: time 0.003505/0.1454, allocations: 1.432 MB / 489.8 MB, free: 11.8 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