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.0008747/0.0008787, allocations: 171.2 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.179/1.179, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007075/0.0007075, allocations: 85.41 kB / 271.2 MB, free: 8.25 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.2831/0.2831, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 16 kB / 432 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09136/0.09173, allocations: 58.85 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.00154/0.09331, allocations: 1.346 MB / 492.2 MB, free: 9.551 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007673/0.0941, allocations: 0.535 MB / 492.7 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.09417, allocations: 4 kB / 492.7 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.814e-05/0.09426, allocations: 7.922 kB / 492.7 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.12e-05/0.09432, allocations: 11.86 kB / 492.7 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.09453, allocations: 47.89 kB / 492.8 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.09467, allocations: 95.7 kB / 492.9 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.0948, allocations: 35.91 kB / 492.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.974e-05/0.09489, allocations: 35.84 kB / 492.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.209e-05/0.09499, allocations: 35.84 kB / 493 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.09501, allocations: 0 / 493 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.09504, allocations: 4 kB / 493 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.09507, allocations: 19.91 kB / 493 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.215e-05/0.09515, allocations: 65.48 kB / 493.1 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.628e-05/0.09526, allocations: 80.06 kB / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.09527, allocations: 0 / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09527, allocations: 0 / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.09528, allocations: 0 / 493.1 MB, free: 8.566 MB / 378.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.0005645/0.09585, allocations: 383.2 kB / 493.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.09589, allocations: 8.031 kB / 493.5 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.09593, allocations: 12.84 kB / 493.5 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.09613, allocations: 212 kB / 493.7 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.09616, allocations: 8.375 kB / 493.7 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.09619, allocations: 4.375 kB / 493.7 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.09639, allocations: 97.95 kB / 493.8 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.09641, allocations: 0 / 493.8 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.09643, allocations: 0 / 493.8 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.09644, allocations: 0 / 493.8 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.09659, allocations: 63.84 kB / 493.9 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.09709, allocations: 364.6 kB / 494.3 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.09723, allocations: 70.48 kB / 494.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.121e-05/0.09732, allocations: 32.98 kB / 494.4 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.09735, allocations: 3.938 kB / 494.4 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.09753, allocations: 99.34 kB / 494.5 MB, free: 7.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.09754, allocations: 4 kB / 494.5 MB, free: 7.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003223/0.09787, allocations: 129.4 kB / 494.6 MB, free: 6.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.09792, allocations: 51.41 kB / 494.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.09804, allocations: 149.7 kB / 494.8 MB, free: 6.715 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.09807, allocations: 29.7 kB / 494.8 MB, free: 6.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.09813, allocations: 108.2 kB / 494.9 MB, free: 6.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.09817, allocations: 27.7 kB / 494.9 MB, free: 6.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.09819, allocations: 0 / 494.9 MB, free: 6.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.09831, allocations: 318.8 kB / 495.3 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.328e-05/0.09839, allocations: 27.98 kB / 495.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.0985, allocations: 91.36 kB / 495.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.09869, allocations: 127.6 kB / 495.5 MB, free: 5.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.0987, allocations: 0 / 495.5 MB, free: 5.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002451/0.09895, allocations: 145.6 kB / 495.6 MB, free: 5.781 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.09898, allocations: 11.59 kB / 495.7 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.09899, allocations: 0 / 495.7 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.099, allocations: 4 kB / 495.7 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.09913, allocations: 31.92 kB / 495.7 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.09915, allocations: 7.938 kB / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.063e-05/0.09922, allocations: 11.84 kB / 495.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.09924, allocations: 4 kB / 495.7 MB, free: 5.715 MB / 378.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.0001017/0.09935, allocations: 138.1 kB / 495.8 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.09937, allocations: 7.906 kB / 495.9 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.09941, allocations: 12.72 kB / 495.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.09942, allocations: 0 / 495.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.09943, allocations: 7.875 kB / 495.9 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.09944, allocations: 0 / 495.9 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.09959, allocations: 205.5 kB / 496.1 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.0996, allocations: 0 / 496.1 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.313e-05/0.0997, allocations: 15.98 kB / 496.1 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.09971, allocations: 0 / 496.1 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.09973, allocations: 8 kB / 496.1 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.09974, allocations: 0 / 496.1 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.09975, allocations: 3.938 kB / 496.1 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.1001, allocations: 176.8 kB / 496.3 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.1001, allocations: 85.05 kB / 496.4 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1001, allocations: 4.062 kB / 496.4 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.277e-05/0.1002, allocations: 11.98 kB / 496.4 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.1002, allocations: 11.92 kB / 496.4 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.1003, allocations: 0 / 496.4 MB, free: 4.945 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.074e-05/0.1003, allocations: 103.3 kB / 496.5 MB, free: 4.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1003, allocations: 0 / 496.5 MB, free: 4.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000203/0.1005, allocations: 20 kB / 496.5 MB, free: 4.824 MB / 378.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 9.249e-05/0.1006, allocations: 103.2 kB / 496.6 MB, free: 4.711 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.1008, allocations: 79.84 kB / 496.7 MB, free: 4.633 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1008, allocations: 0 / 496.7 MB, free: 4.633 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/0.1009, allocations: 35.98 kB / 496.7 MB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.1011, allocations: 11.98 kB / 496.7 MB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.1016, allocations: 317.6 kB / 497 MB, free: 4.246 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.1018, allocations: 0.7081 MB / 497.7 MB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.1018, allocations: 15.44 kB / 497.8 MB, free: 3.5 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1018, allocations: 0 / 497.8 MB, free: 3.5 MB / 378.7 MB Notification: Performance of Templates: time 0.002311/0.1042, allocations: 1.321 MB / 499.1 MB, free: 2.18 MB / 378.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/jenkins/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