Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002116/0.002116, allocations: 185.4 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001696/0.001696, allocations: 108.1 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5343/0.5343, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.00047, allocations: 16 kB / 431.4 MB, free: 5.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1272, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4946/0.6219, allocations: 85.84 MB / 0.5626 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.6221, allocations: 64.72 kB / 0.5626 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007385/0.6295, allocations: 1.69 MB / 0.5643 GB, free: 15.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.6296, allocations: 0 / 0.5643 GB, free: 15.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.6296, allocations: 0 / 0.5643 GB, free: 15.01 MB / 394.7 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.0006859/0.6303, allocations: 403.3 kB / 0.5647 GB, free: 14.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.6304, allocations: 8.562 kB / 0.5647 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.051e-05/0.6304, allocations: 14.3 kB / 0.5647 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.6308, allocations: 214.8 kB / 0.5649 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.6308, allocations: 4 kB / 0.5649 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.6309, allocations: 8 kB / 0.5649 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.6312, allocations: 93.64 kB / 0.565 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.6312, allocations: 0 / 0.565 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.6312, allocations: 4 kB / 0.565 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.6313, allocations: 1.031 kB / 0.565 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.6315, allocations: 65 kB / 0.565 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007784/0.6323, allocations: 364.6 kB / 0.5654 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.6325, allocations: 58.59 kB / 0.5654 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.6326, allocations: 4 kB / 0.5655 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000295/0.6329, allocations: 103.3 kB / 0.5656 GB, free: 13.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.946e-06/0.6329, allocations: 0 / 0.5656 GB, free: 13.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005244/0.6334, allocations: 129.5 kB / 0.5657 GB, free: 13.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.6335, allocations: 63.56 kB / 0.5657 GB, free: 13.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.6336, allocations: 128.1 kB / 0.5659 GB, free: 13.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.6337, allocations: 29.7 kB / 0.5659 GB, free: 13.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.6338, allocations: 174.7 kB / 0.5661 GB, free: 12.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.6339, allocations: 27.61 kB / 0.5661 GB, free: 12.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/0.6339, allocations: 0 / 0.5661 GB, free: 12.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.634, allocations: 318.8 kB / 0.5664 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.6342, allocations: 23.98 kB / 0.5664 GB, free: 12.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.6344, allocations: 91.64 kB / 0.5665 GB, free: 12.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.6345, allocations: 47.75 kB / 0.5665 GB, free: 12.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.6345, allocations: 384 / 0.5665 GB, free: 12.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004144/0.635, allocations: 129.5 kB / 0.5667 GB, free: 12.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.635, allocations: 12.22 kB / 0.5667 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.635, allocations: 0 / 0.5667 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.6351, allocations: 11.89 kB / 0.5667 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.6353, allocations: 27.98 kB / 0.5667 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.6353, allocations: 0 / 0.5667 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.6355, allocations: 20.39 kB / 0.5667 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.6355, allocations: 4 kB / 0.5667 GB, free: 12.25 MB / 394.7 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,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.6357, allocations: 124.3 kB / 0.5669 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.6357, allocations: 11.91 kB / 0.5669 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/0.6358, allocations: 12.72 kB / 0.5669 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.6358, allocations: 7.938 kB / 0.5669 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.6358, allocations: 1.062 kB / 0.5669 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6358, allocations: 0 / 0.5669 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.6361, allocations: 201.6 kB / 0.5671 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6361, allocations: 0 / 0.5671 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.6363, allocations: 19.92 kB / 0.5671 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.6364, allocations: 96 / 0.5671 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.6364, allocations: 7.969 kB / 0.5671 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.6364, allocations: 5.812 kB / 0.5671 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6364, allocations: 7.953 kB / 0.5671 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005656/0.637, allocations: 168.9 kB / 0.5673 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.6371, allocations: 84.92 kB / 0.5674 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.6371, allocations: 4.031 kB / 0.5674 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.6372, allocations: 12.06 kB / 0.5674 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.6373, allocations: 3.984 kB / 0.5674 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.6373, allocations: 7.953 kB / 0.5674 GB, free: 11.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.6375, allocations: 109.9 kB / 0.5675 GB, free: 11.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6375, allocations: 0 / 0.5675 GB, free: 11.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000347/0.6378, allocations: 20 kB / 0.5675 GB, free: 11.37 MB / 394.7 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 (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.0001758/0.638, allocations: 111.2 kB / 0.5676 GB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003608/0.6384, allocations: 87.83 kB / 0.5677 GB, free: 11.17 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6384, allocations: 96 / 0.5677 GB, free: 11.17 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.6386, allocations: 43.86 kB / 0.5677 GB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.6388, allocations: 8 kB / 0.5678 GB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.6395, allocations: 299.5 kB / 0.568 GB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.6399, allocations: 0.7081 MB / 0.5687 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.434e-05/0.64, allocations: 19.44 kB / 0.5687 GB, free: 10.05 MB / 394.7 MB Notification: Performance of SimCode: time 8.81e-07/0.64, allocations: 0 / 0.5687 GB, free: 10.05 MB / 394.7 MB Notification: Performance of Templates: time 0.003982/0.644, allocations: 1.306 MB / 0.57 GB, free: 8.766 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches