Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 173.8 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.6 MB / 222.4 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007422/0.0007423, allocations: 88.42 kB / 270.8 MB, free: 8.133 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.297/0.297, allocations: 43.67 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002949, allocations: 8 kB / 432.3 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/0.09217, allocations: 58.85 MB / 491.2 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001508/0.09371, allocations: 1.347 MB / 492.5 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007408/0.09447, allocations: 0.5466 MB / 493 MB, free: 7.906 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.09455, allocations: 4 kB / 493 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.05e-05/0.09463, allocations: 3.938 kB / 493.1 MB, free: 7.898 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.569e-05/0.09469, allocations: 15.84 kB / 493.1 MB, free: 7.883 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.09493, allocations: 51.95 kB / 493.1 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.09506, allocations: 95.7 kB / 493.2 MB, free: 7.738 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.0952, allocations: 31.91 kB / 493.2 MB, free: 7.707 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.398e-05/0.09529, allocations: 35.84 kB / 493.3 MB, free: 7.672 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.09541, allocations: 39.78 kB / 493.3 MB, free: 7.633 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.09545, allocations: 4 kB / 493.3 MB, free: 7.629 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.675e-05/0.09548, allocations: 7.938 kB / 493.3 MB, free: 7.621 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.542e-05/0.09552, allocations: 23.91 kB / 493.4 MB, free: 7.598 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.09559, allocations: 57.5 kB / 493.4 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.09571, allocations: 95.88 kB / 493.5 MB, free: 7.441 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.09572, allocations: 0 / 493.5 MB, free: 7.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.09573, allocations: 0 / 493.5 MB, free: 7.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.09574, allocations: 7.938 kB / 493.5 MB, free: 7.434 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.0005871/0.09633, allocations: 394.4 kB / 493.9 MB, free: 7.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.09637, allocations: 15.97 kB / 493.9 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.09642, allocations: 12.84 kB / 493.9 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.0966, allocations: 208.1 kB / 494.1 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.09662, allocations: 8.375 kB / 494.1 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.09665, allocations: 4.375 kB / 494.1 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.09685, allocations: 93.95 kB / 494.2 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.09687, allocations: 4 kB / 494.2 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.09689, allocations: 0 / 494.2 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.0969, allocations: 4 kB / 494.2 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.09704, allocations: 55.91 kB / 494.3 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.09752, allocations: 364.6 kB / 494.6 MB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.09765, allocations: 62.5 kB / 494.7 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.059e-05/0.09773, allocations: 32.97 kB / 494.7 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.09776, allocations: 4 kB / 494.7 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.09794, allocations: 99.34 kB / 494.8 MB, free: 5.938 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.09795, allocations: 3.938 kB / 494.8 MB, free: 5.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003004/0.09826, allocations: 129.5 kB / 495 MB, free: 5.801 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.09831, allocations: 59.33 kB / 495 MB, free: 5.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.998e-05/0.09841, allocations: 141.8 kB / 495.2 MB, free: 5.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.09844, allocations: 29.7 kB / 495.2 MB, free: 5.547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.09849, allocations: 108.6 kB / 495.3 MB, free: 5.438 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.09852, allocations: 23.7 kB / 495.3 MB, free: 5.414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.09853, allocations: 0 / 495.3 MB, free: 5.414 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.09862, allocations: 322.8 kB / 495.6 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.771e-05/0.09869, allocations: 31.92 kB / 495.7 MB, free: 5.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.138e-05/0.09879, allocations: 87.64 kB / 495.8 MB, free: 4.945 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.09897, allocations: 123.6 kB / 495.9 MB, free: 4.797 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.09898, allocations: 4 kB / 495.9 MB, free: 4.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002279/0.09921, allocations: 145.4 kB / 496 MB, free: 4.645 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.09923, allocations: 4 kB / 496 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.09924, allocations: 4 kB / 496 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.09926, allocations: 4 kB / 496 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.09939, allocations: 27.92 kB / 496.1 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.09941, allocations: 7.938 kB / 496.1 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.069e-05/0.09949, allocations: 16.06 kB / 496.1 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.09951, allocations: 8 kB / 496.1 MB, free: 4.574 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.941e-05/0.0996, allocations: 133.8 kB / 496.2 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.09963, allocations: 7.906 kB / 496.2 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.09966, allocations: 12.72 kB / 496.2 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.09967, allocations: 0 / 496.2 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.09968, allocations: 3.938 kB / 496.3 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.09969, allocations: 0 / 496.3 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.09983, allocations: 205.5 kB / 496.5 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.09984, allocations: 4 kB / 496.5 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.57e-05/0.09994, allocations: 15.98 kB / 496.5 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.09995, allocations: 0 / 496.5 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.09997, allocations: 0 / 496.5 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.09998, allocations: 0 / 496.5 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.09998, allocations: 3.938 kB / 496.5 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.1003, allocations: 180.9 kB / 496.7 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.1003, allocations: 81.02 kB / 496.7 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.1004, allocations: 11.98 kB / 496.7 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.963e-05/0.1004, allocations: 0 / 496.7 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.1005, allocations: 11.92 kB / 496.8 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1005, allocations: 7.938 kB / 496.8 MB, free: 3.816 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.186e-05/0.1006, allocations: 103.9 kB / 496.9 MB, free: 3.715 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1006, allocations: 0 / 496.9 MB, free: 3.715 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001956/0.1008, allocations: 20.14 kB / 496.9 MB, free: 3.695 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 (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.102e-05/0.1009, allocations: 123.1 kB / 497 MB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.1011, allocations: 75.84 kB / 497.1 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1011, allocations: 0 / 497.1 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.983e-05/0.1012, allocations: 32.42 kB / 497.1 MB, free: 3.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.1014, allocations: 16.45 kB / 497.1 MB, free: 3.441 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.1018, allocations: 295.1 kB / 497.4 MB, free: 3.129 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.102, allocations: 0.7081 MB / 498.1 MB, free: 2.395 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.859e-05/0.1021, allocations: 4.562 kB / 498.1 MB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.1021, allocations: 19.42 kB / 498.1 MB, free: 2.371 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1021, allocations: 0 / 498.1 MB, free: 2.371 MB / 378.7 MB Notification: Performance of Templates: time 0.002712/0.1048, allocations: 0.8418 MB / 499 MB, free: 1.539 MB / 378.7 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","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches