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.00126/0.001261, allocations: 100.4 kB / 16.26 MB, free: 5.93 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.001153/0.001153, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.688/1.688, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2249/0.2249, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 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.001748/0.001749, allocations: 68.11 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1366, allocations: 57.8 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.00402/0.1407, allocations: 1.638 MB / 442.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1418, allocations: 0.5658 MB / 442.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.142, allocations: 0 / 442.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.1421, allocations: 11.86 kB / 442.7 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.537e-05/0.1422, allocations: 27.8 kB / 442.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1425, allocations: 51.88 kB / 442.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.1427, allocations: 107.6 kB / 442.9 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.1429, allocations: 36.23 kB / 443 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.143, allocations: 39.86 kB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.1432, allocations: 51.75 kB / 443 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.1432, allocations: 12 kB / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.221e-05/0.1432, allocations: 11.94 kB / 443.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.1433, allocations: 23.92 kB / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.923e-05/0.1434, allocations: 47.73 kB / 443.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.1435, allocations: 99.62 kB / 443.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1435, allocations: 0 / 443.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1435, allocations: 0 / 443.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1435, allocations: 0 / 443.2 MB, free: 4.16 MB / 318.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.0007256/0.1443, allocations: 419 kB / 443.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1443, allocations: 11.89 kB / 443.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.1444, allocations: 12.84 kB / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.1446, allocations: 205.4 kB / 443.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1446, allocations: 4.375 kB / 443.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.1447, allocations: 12.36 kB / 443.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.1449, allocations: 97.84 kB / 444 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1449, allocations: 0 / 444 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.1449, allocations: 11.98 kB / 444 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1449, allocations: 0 / 444 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.1451, allocations: 47.97 kB / 444 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.1456, allocations: 360.6 kB / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.1457, allocations: 58.55 kB / 444.4 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.118e-05/0.1458, allocations: 28.98 kB / 444.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1458, allocations: 3.984 kB / 444.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.146, allocations: 103.3 kB / 444.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.704e-06/0.146, allocations: 0 / 444.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003307/0.1463, allocations: 133.5 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.1464, allocations: 51.41 kB / 444.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1465, allocations: 144.6 kB / 444.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1465, allocations: 33.7 kB / 444.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.1466, allocations: 100.7 kB / 445 MB, free: 2.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.1466, allocations: 31.55 kB / 445.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.1467, allocations: 25.72 kB / 445.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.1467, allocations: 326.8 kB / 445.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.756e-05/0.1468, allocations: 27.92 kB / 445.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.94e-05/0.1469, allocations: 87.7 kB / 445.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.1471, allocations: 119.6 kB / 445.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1471, allocations: 0 / 445.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002169/0.1473, allocations: 141.4 kB / 445.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1473, allocations: 8 kB / 445.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1473, allocations: 0 / 445.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1474, allocations: 4 kB / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1475, allocations: 27.92 kB / 445.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.1475, allocations: 3.938 kB / 445.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.104e-05/0.1476, allocations: 11.91 kB / 445.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1476, allocations: 12.22 kB / 445.8 MB, free: 1.273 MB / 318.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 9.082e-05/0.1477, allocations: 137.6 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.1477, allocations: 7.906 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.659e-05/0.1478, allocations: 12.72 kB / 446 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1478, allocations: 0 / 446 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1478, allocations: 3.938 kB / 446 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1478, allocations: 3.938 kB / 446 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.1479, allocations: 201.6 kB / 446.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.1479, allocations: 4 kB / 446.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.742e-05/0.148, allocations: 11.98 kB / 446.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.148, allocations: 4 kB / 446.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.1481, allocations: 0 / 446.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1481, allocations: 0 / 446.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1481, allocations: 7.875 kB / 446.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.1484, allocations: 164.9 kB / 446.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.1484, allocations: 89.09 kB / 446.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1484, allocations: 8 kB / 446.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.829e-05/0.1485, allocations: 4 kB / 446.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.1486, allocations: 11.92 kB / 446.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.1486, allocations: 0 / 446.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.205e-05/0.1486, allocations: 111.2 kB / 446.6 MB, free: 416 kB / 318.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1486, allocations: 0 / 446.6 MB, free: 416 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.1489, allocations: 20.08 kB / 446.6 MB, free: 396 kB / 318.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 9.013e-05/0.149, allocations: 107.3 kB / 446.7 MB, free: 280 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.1492, allocations: 83.83 kB / 446.8 MB, free: 196 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1492, allocations: 0 / 446.8 MB, free: 196 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.567e-05/0.1493, allocations: 31.92 kB / 446.8 MB, free: 164 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.1495, allocations: 14.81 kB / 446.9 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005361/0.15, allocations: 253.8 kB / 447.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.1504, allocations: 0.7002 MB / 447.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.249e-05/0.1504, allocations: 12.56 kB / 447.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.1505, allocations: 15.42 kB / 447.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1505, allocations: 0 / 447.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of Templates: time 0.003535/0.154, allocations: 0.9216 MB / 448.8 MB, free: 14.21 MB / 334.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