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.0008712/0.0008713, allocations: 101.5 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.582/1.582, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2369/0.2369, allocations: 46.18 MB / 344.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003438, allocations: 8 kB / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1303, allocations: 63.56 MB / 482.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.00193/0.1323, allocations: 1.39 MB / 483.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009263/0.1332, allocations: 0.542 MB / 484.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.1333, allocations: 4 kB / 484.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.166e-05/0.1334, allocations: 7.922 kB / 484.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.684e-05/0.1335, allocations: 15.86 kB / 484.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.1337, allocations: 47.88 kB / 484.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.1339, allocations: 99.7 kB / 484.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.134, allocations: 33.03 kB / 484.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.1342, allocations: 47.8 kB / 484.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1343, allocations: 47.75 kB / 484.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1343, allocations: 4 kB / 484.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.14e-05/0.1344, allocations: 4 kB / 484.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.1344, allocations: 19.92 kB / 484.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.1345, allocations: 41.64 kB / 484.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.1346, allocations: 84.05 kB / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1346, allocations: 0 / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1347, allocations: 0 / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1347, allocations: 0 / 484.8 MB, free: 2.152 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.0006579/0.1353, allocations: 403 kB / 485.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1354, allocations: 12.03 kB / 485.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.1356, allocations: 23.89 kB / 485.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.1358, allocations: 211.4 kB / 485.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1358, allocations: 4 kB / 485.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.1359, allocations: 12 kB / 485.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.1361, allocations: 97.58 kB / 485.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1361, allocations: 7.969 kB / 485.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1361, allocations: 0 / 485.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.1362, allocations: 4 kB / 485.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.1363, allocations: 57.88 kB / 485.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.1369, allocations: 396.4 kB / 486 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.1371, allocations: 58.64 kB / 486 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.181e-05/0.1372, allocations: 40.88 kB / 486.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1372, allocations: 0 / 486.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.1374, allocations: 111.2 kB / 486.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1374, allocations: 0 / 486.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003618/0.1378, allocations: 133.5 kB / 486.3 MB, free: 452 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.1378, allocations: 55.41 kB / 486.4 MB, free: 384 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.138, allocations: 142.3 kB / 486.5 MB, free: 232 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.138, allocations: 33.7 kB / 486.5 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.1381, allocations: 104.1 kB / 486.6 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.1381, allocations: 27.64 kB / 486.7 MB, free: 56 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.1381, allocations: 8 kB / 486.7 MB, free: 48 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1383, allocations: 322.8 kB / 487 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.018e-05/0.1384, allocations: 27.98 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1385, allocations: 83.66 kB / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.414e-05/0.1386, allocations: 35.98 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1386, allocations: 4 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002591/0.1389, allocations: 149.3 kB / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1389, allocations: 8 kB / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1389, allocations: 3.953 kB / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1389, allocations: 4 kB / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.139, allocations: 27.92 kB / 487.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1391, allocations: 4.219 kB / 487.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.1391, allocations: 12 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1391, allocations: 8 kB / 487.3 MB, free: 15.33 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 ($PRE.mean1.y_last,mean1.y_last,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y_last,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.991e-05/0.1392, allocations: 130.2 kB / 487.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.1393, allocations: 12 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.1393, allocations: 12.7 kB / 487.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.1393, allocations: 7.953 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.1393, allocations: 0 / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1394, allocations: 0 / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.1396, allocations: 213.5 kB / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1396, allocations: 0 / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.795e-05/0.1397, allocations: 20.36 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1397, allocations: 3.938 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1397, allocations: 0 / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.1397, allocations: 7.984 kB / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1397, allocations: 7.891 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.14, allocations: 172.9 kB / 487.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.1401, allocations: 85.05 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.1401, allocations: 0 / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.836e-05/0.1402, allocations: 8 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.1402, allocations: 11.94 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.1402, allocations: 0 / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.446e-05/0.1403, allocations: 119.4 kB / 488.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1403, allocations: 4.062 kB / 488.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.1406, allocations: 23.84 kB / 488.2 MB, free: 14.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001007/0.1407, allocations: 99.19 kB / 488.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.1409, allocations: 83.83 kB / 488.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1409, allocations: 448 / 488.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.337e-05/0.141, allocations: 35.98 kB / 488.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.1412, allocations: 14.48 kB / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.1418, allocations: 295.7 kB / 488.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.1422, allocations: 0.7046 MB / 489.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.291e-05/0.1422, allocations: 16.41 kB / 489.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.1423, allocations: 15.44 kB / 489.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of SimCode: time 1.623e-06/0.1423, allocations: 3.938 kB / 489.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of Templates: time 0.003489/0.1458, allocations: 0.8796 MB / 490.3 MB, free: 12.22 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