Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 96.73 kB / 17 MB, free: 6.402 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.001352/0.001352, allocations: 178.4 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.3 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2217/0.2217, allocations: 44.25 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003515, allocations: 11.98 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001919/0.1435, allocations: 1.343 MB / 472.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008207/0.1444, allocations: 0.503 MB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.888e-05/0.1445, allocations: 0 / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.427e-05/0.1446, allocations: 3.938 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.35e-05/0.1446, allocations: 7.875 kB / 473.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.1449, allocations: 51.88 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.145, allocations: 99.69 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.1452, allocations: 33.38 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.506e-05/0.1453, allocations: 35.84 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.792e-05/0.1454, allocations: 31.78 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1454, allocations: 4 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.691e-05/0.1454, allocations: 4 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.1455, allocations: 19.92 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.1455, allocations: 41.64 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.1456, allocations: 72.12 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1457, allocations: 4 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1457, allocations: 0 / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1457, allocations: 0 / 473.8 MB, free: 11.43 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.0006838/0.1464, allocations: 395 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.1464, allocations: 8.562 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.1465, allocations: 11.91 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1467, allocations: 213.1 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.1467, allocations: 12 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.1468, allocations: 15.95 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.147, allocations: 85.64 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.147, allocations: 4 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.147, allocations: 4 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1471, allocations: 0 / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.1472, allocations: 51.97 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.1478, allocations: 384.4 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.1479, allocations: 70.52 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.021e-05/0.148, allocations: 28.95 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.1481, allocations: 7.969 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.1483, allocations: 107.3 kB / 475.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 3.135e-06/0.1483, allocations: 4 kB / 475.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003689/0.1487, allocations: 133.4 kB / 475.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.1487, allocations: 63.3 kB / 475.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1489, allocations: 138 kB / 475.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1489, allocations: 29.69 kB / 475.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.149, allocations: 103.9 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.149, allocations: 35.69 kB / 475.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/0.149, allocations: 0 / 475.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1492, allocations: 326.8 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-05/0.1492, allocations: 27.98 kB / 476 MB, free: 9.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.1494, allocations: 83.7 kB / 476.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.065e-05/0.1495, allocations: 35.94 kB / 476.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1495, allocations: 0 / 476.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002475/0.1497, allocations: 149.4 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1497, allocations: 4 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1498, allocations: 4 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1498, allocations: 4 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1499, allocations: 19.98 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1499, allocations: 12.16 kB / 476.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.451e-05/0.15, allocations: 19.8 kB / 476.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.15, allocations: 8 kB / 476.4 MB, free: 8.637 MB / 350.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 0.0001163/0.1501, allocations: 128.4 kB / 476.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.1502, allocations: 7.906 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.1502, allocations: 12.72 kB / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1502, allocations: 0 / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1502, allocations: 0 / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1502, allocations: 4 kB / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1504, allocations: 205.5 kB / 476.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1504, allocations: 0 / 476.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-05/0.1505, allocations: 19.92 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1505, allocations: 0 / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.1505, allocations: 4 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1506, allocations: 4 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1506, allocations: 0 / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.1509, allocations: 177.2 kB / 476.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.1509, allocations: 100.9 kB / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.151, allocations: 0 / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.508e-05/0.151, allocations: 4 kB / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.1511, allocations: 7.984 kB / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1511, allocations: 4 kB / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.807e-05/0.1512, allocations: 109.4 kB / 477.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1512, allocations: 0 / 477.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.1514, allocations: 23.89 kB / 477.2 MB, free: 7.75 MB / 350.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.0001034/0.1515, allocations: 99.23 kB / 477.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.1517, allocations: 80.03 kB / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1517, allocations: 448 / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.1518, allocations: 43.91 kB / 477.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.152, allocations: 12.05 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.1526, allocations: 291.3 kB / 477.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.1529, allocations: 0.7004 MB / 478.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.188e-05/0.153, allocations: 12.55 kB / 478.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.153, allocations: 15.44 kB / 478.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.153, allocations: 0 / 478.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of Templates: time 0.003345/0.1564, allocations: 0.8216 MB / 479.2 MB, free: 5.633 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches