Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 110.9 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 189.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2343/0.2343, allocations: 43.52 MB / 314.1 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 71.83 kB / 441.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1359, allocations: 57.78 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003469/0.1394, allocations: 1.661 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1406, allocations: 0.5775 MB / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.1408, allocations: 3.938 kB / 0.4901 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.141, allocations: 7.922 kB / 0.4901 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.131e-05/0.1411, allocations: 19.8 kB / 0.4901 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.1415, allocations: 63.75 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.1418, allocations: 95.77 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.142, allocations: 39.97 kB / 0.4903 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.1422, allocations: 51.83 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.1423, allocations: 39.78 kB / 0.4904 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.1424, allocations: 8 kB / 0.4904 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.51e-05/0.1424, allocations: 8 kB / 0.4904 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.422e-05/0.1425, allocations: 31.84 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.784e-05/0.1426, allocations: 43.8 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.1428, allocations: 107.5 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.1429, allocations: 4 kB / 0.4906 GB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1429, allocations: 0 / 0.4906 GB, free: 9.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1429, allocations: 4 kB / 0.4906 GB, free: 9.07 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009168/0.1438, allocations: 406.5 kB / 0.4909 GB, free: 8.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.1439, allocations: 15.89 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.151e-05/0.1439, allocations: 16.83 kB / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.1442, allocations: 212.1 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1442, allocations: 4.375 kB / 0.4912 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.1443, allocations: 12.38 kB / 0.4912 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.1446, allocations: 101.9 kB / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1446, allocations: 0 / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.1446, allocations: 4 kB / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1446, allocations: 0 / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.1448, allocations: 47.97 kB / 0.4913 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000631/0.1454, allocations: 360.6 kB / 0.4917 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.1456, allocations: 62.55 kB / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.226e-05/0.1457, allocations: 28.98 kB / 0.4918 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.1457, allocations: 7.938 kB / 0.4918 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.1459, allocations: 95.34 kB / 0.4919 GB, free: 7.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.1459, allocations: 0 / 0.4919 GB, free: 7.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003701/0.1463, allocations: 125.5 kB / 0.492 GB, free: 7.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.1464, allocations: 51.41 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.1465, allocations: 148.2 kB / 0.4922 GB, free: 7.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.1465, allocations: 33.7 kB / 0.4922 GB, free: 7.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/0.1466, allocations: 112.2 kB / 0.4923 GB, free: 7.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.1467, allocations: 27.75 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.1467, allocations: 37.7 kB / 0.4924 GB, free: 6.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1468, allocations: 322.8 kB / 0.4927 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.547e-05/0.1469, allocations: 23.98 kB / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.706e-05/0.147, allocations: 79.66 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.1472, allocations: 131.6 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1472, allocations: 0 / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002495/0.1475, allocations: 137.4 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1475, allocations: 4 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1475, allocations: 12.08 kB / 0.4931 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1476, allocations: 7.984 kB / 0.4931 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1477, allocations: 20.59 kB / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.1477, allocations: 15.86 kB / 0.4931 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.293e-05/0.1478, allocations: 11.95 kB / 0.4931 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1478, allocations: 4 kB / 0.4931 GB, free: 6.172 MB / 382.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,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * 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.0001145/0.1479, allocations: 133.7 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.148, allocations: 7.953 kB / 0.4933 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.099e-05/0.148, allocations: 16.7 kB / 0.4933 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.148, allocations: 0 / 0.4933 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.148, allocations: 7.938 kB / 0.4933 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.148, allocations: 0 / 0.4933 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.1482, allocations: 201.5 kB / 0.4935 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1482, allocations: 0 / 0.4935 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.586e-05/0.1483, allocations: 15.98 kB / 0.4935 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1483, allocations: 0 / 0.4935 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.1484, allocations: 4 kB / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1484, allocations: 0 / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/0.1484, allocations: 7.938 kB / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.1487, allocations: 164.9 kB / 0.4937 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.1488, allocations: 89.09 kB / 0.4937 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.1488, allocations: 0 / 0.4937 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.925e-05/0.1489, allocations: 7.984 kB / 0.4937 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.1489, allocations: 7.938 kB / 0.4938 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.1489, allocations: 15.92 kB / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.296e-05/0.149, allocations: 102.1 kB / 0.4939 GB, free: 5.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.149, allocations: 4 kB / 0.4939 GB, free: 5.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000221/0.1492, allocations: 16.06 kB / 0.4939 GB, free: 5.289 MB / 382.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,rootMeanSquare.mean.y) * 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.0001093/0.1494, allocations: 107.2 kB / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.1496, allocations: 75.84 kB / 0.4941 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1496, allocations: 0 / 0.4941 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.106e-05/0.1497, allocations: 31.92 kB / 0.4941 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.1499, allocations: 20.64 kB / 0.4941 GB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00058/0.1505, allocations: 244.8 kB / 0.4943 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1508, allocations: 0.704 MB / 0.495 GB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.081e-05/0.1509, allocations: 12.55 kB / 0.495 GB, free: 4.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.1509, allocations: 15.44 kB / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1509, allocations: 0 / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of Templates: time 0.003738/0.1547, allocations: 0.9297 MB / 0.496 GB, free: 3.098 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches