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.0009946/0.0009946, allocations: 92.67 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 204.8 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.8 MB / 246.8 MB, free: 9.777 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1937/0.1937, allocations: 46.19 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003135, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1176, allocations: 63.56 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.00199/0.1196, allocations: 1.405 MB / 484.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1209, allocations: 0.565 MB / 485.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.1211, allocations: 0 / 485.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.1212, allocations: 15.92 kB / 485.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.294e-05/0.1213, allocations: 15.86 kB / 485.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.1216, allocations: 55.88 kB / 485.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.1218, allocations: 103.7 kB / 485.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.1219, allocations: 33.09 kB / 485.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.1221, allocations: 39.8 kB / 485.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.1222, allocations: 47.77 kB / 485.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.1223, allocations: 7.938 kB / 485.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.471e-05/0.1223, allocations: 8 kB / 485.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.1224, allocations: 15.92 kB / 485.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.649e-05/0.1225, allocations: 77.41 kB / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.1227, allocations: 111.9 kB / 485.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1227, allocations: 0 / 485.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1227, allocations: 0 / 485.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1227, allocations: 0 / 485.6 MB, free: 1.633 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.0006692/0.1234, allocations: 401.7 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1234, allocations: 12.03 kB / 486 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/0.1236, allocations: 24.83 kB / 486 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.1239, allocations: 219.6 kB / 486.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1239, allocations: 8.359 kB / 486.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.124, allocations: 16.06 kB / 486.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.1242, allocations: 104.4 kB / 486.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1242, allocations: 0 / 486.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.1243, allocations: 4 kB / 486.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1243, allocations: 4 kB / 486.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.1244, allocations: 55.91 kB / 486.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006188/0.1251, allocations: 388.5 kB / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.1252, allocations: 62.53 kB / 486.8 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.433e-05/0.1253, allocations: 32.95 kB / 486.9 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.1254, allocations: 4 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.1256, allocations: 95.34 kB / 487 MB, free: 76 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1256, allocations: 0 / 487 MB, free: 76 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003723/0.126, allocations: 141.4 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.126, allocations: 55.34 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.1262, allocations: 145.8 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.1262, allocations: 33.7 kB / 487.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.1263, allocations: 108.1 kB / 487.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.1263, allocations: 31.55 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.1264, allocations: 25.7 kB / 487.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1265, allocations: 322.8 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.1266, allocations: 27.98 kB / 487.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.1267, allocations: 75.72 kB / 487.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.1269, allocations: 135.6 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1269, allocations: 0 / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002744/0.1272, allocations: 145.4 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1273, allocations: 8.156 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1273, allocations: 8 kB / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1273, allocations: 384 / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1274, allocations: 27.92 kB / 488.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1275, allocations: 7.984 kB / 488.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.091e-05/0.1275, allocations: 11.84 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.1276, allocations: 15.94 kB / 488.3 MB, free: 14.66 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.0001116/0.1277, allocations: 125.8 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.1277, allocations: 15.84 kB / 488.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.1278, allocations: 16.7 kB / 488.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1278, allocations: 0 / 488.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1278, allocations: 0 / 488.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1278, allocations: 3.938 kB / 488.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.128, allocations: 201.6 kB / 488.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.128, allocations: 4 kB / 488.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.832e-05/0.1281, allocations: 15.98 kB / 488.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.1281, allocations: 3.938 kB / 488.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1281, allocations: 4 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1281, allocations: 4 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1281, allocations: 3.984 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.1285, allocations: 172.8 kB / 488.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.1285, allocations: 88.98 kB / 488.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.1286, allocations: 3.984 kB / 488.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.1286, allocations: 8.062 kB / 488.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.1287, allocations: 11.98 kB / 488.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1287, allocations: 4 kB / 488.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.96e-05/0.1288, allocations: 114.2 kB / 489.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1288, allocations: 0 / 489.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.129, allocations: 23.94 kB / 489.1 MB, free: 13.76 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.1292, allocations: 99.78 kB / 489.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.1294, allocations: 79.84 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1294, allocations: 0 / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.1295, allocations: 44 kB / 489.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.1297, allocations: 19.69 kB / 489.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.1303, allocations: 316.1 kB / 489.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1306, allocations: 0.7121 MB / 490.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.021e-05/0.1306, allocations: 12.42 kB / 490.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.1307, allocations: 11.44 kB / 490.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1307, allocations: 0 / 490.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of Templates: time 0.003188/0.1339, allocations: 0.9207 MB / 491.3 MB, free: 11.5 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