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.0009567/0.0009567, allocations: 179.4 kB / 16.41 MB, free: 5.707 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.582/1.582, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008548/0.0008547, allocations: 94.58 kB / 270.9 MB, free: 8.355 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.3967/0.3967, allocations: 43.56 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004903, allocations: 8 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.215, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.00358/0.2187, allocations: 1.346 MB / 491.6 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.2206, allocations: 0.5388 MB / 492.1 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.2208, allocations: 0 / 492.1 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.221, allocations: 11.92 kB / 492.1 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.2212, allocations: 15.88 kB / 492.1 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.2216, allocations: 43.88 kB / 492.2 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.2219, allocations: 87.77 kB / 492.3 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.2222, allocations: 39.83 kB / 492.3 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.2224, allocations: 31.86 kB / 492.3 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.2226, allocations: 39.83 kB / 492.4 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.2227, allocations: 4 kB / 492.4 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.039e-05/0.2227, allocations: 4 kB / 492.4 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.2228, allocations: 19.92 kB / 492.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.311e-05/0.2229, allocations: 37.64 kB / 492.4 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.2231, allocations: 68.14 kB / 492.5 MB, free: 8.703 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2231, allocations: 0 / 492.5 MB, free: 8.703 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2231, allocations: 0 / 492.5 MB, free: 8.703 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.2231, allocations: 0 / 492.5 MB, free: 8.703 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.001165/0.2243, allocations: 399 kB / 492.9 MB, free: 8.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/0.2244, allocations: 12.02 kB / 492.9 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.248e-05/0.2245, allocations: 15.86 kB / 492.9 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.2249, allocations: 202.2 kB / 493.1 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.2249, allocations: 8 kB / 493.1 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/0.225, allocations: 11.98 kB / 493.1 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.2254, allocations: 93.58 kB / 493.2 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.2254, allocations: 0 / 493.2 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.2255, allocations: 7.984 kB / 493.2 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2255, allocations: 4 kB / 493.2 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.2258, allocations: 51.92 kB / 493.3 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009803/0.2268, allocations: 372.5 kB / 493.7 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.227, allocations: 62.52 kB / 493.7 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.2272, allocations: 28.92 kB / 493.7 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.2273, allocations: 4 kB / 493.8 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003545/0.2276, allocations: 107.2 kB / 493.9 MB, free: 7.188 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.515e-06/0.2276, allocations: 0 / 493.9 MB, free: 7.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006288/0.2283, allocations: 133.5 kB / 494 MB, free: 7.051 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.2284, allocations: 55.41 kB / 494 MB, free: 6.984 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.2286, allocations: 134 kB / 494.2 MB, free: 6.844 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.2287, allocations: 33.7 kB / 494.2 MB, free: 6.805 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.2288, allocations: 104.3 kB / 494.3 MB, free: 6.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.136e-05/0.2288, allocations: 31.55 kB / 494.3 MB, free: 6.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.2289, allocations: 0 / 494.3 MB, free: 6.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.2291, allocations: 326.8 kB / 494.7 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.2292, allocations: 23.98 kB / 494.7 MB, free: 6.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.2294, allocations: 83.72 kB / 494.8 MB, free: 6.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.2296, allocations: 39.92 kB / 494.8 MB, free: 6.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2297, allocations: 4 kB / 494.8 MB, free: 6.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004961/0.2302, allocations: 141.3 kB / 494.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.2302, allocations: 8 kB / 495 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.2303, allocations: 224 / 495 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.2303, allocations: 8 kB / 495 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.2305, allocations: 27.92 kB / 495 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.2306, allocations: 3.984 kB / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.2307, allocations: 15.94 kB / 495 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.2308, allocations: 4 kB / 495 MB, free: 5.953 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.0002029/0.231, allocations: 125.8 kB / 495.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.2311, allocations: 11.95 kB / 495.1 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.735e-05/0.2311, allocations: 24.69 kB / 495.2 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.2312, allocations: 384 / 495.2 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2312, allocations: 0 / 495.2 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.2312, allocations: 4 kB / 495.2 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.2315, allocations: 201.5 kB / 495.4 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2315, allocations: 3.938 kB / 495.4 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.2317, allocations: 16 kB / 495.4 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.2317, allocations: 3.953 kB / 495.4 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.2317, allocations: 3.984 kB / 495.4 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.2318, allocations: 4 kB / 495.4 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.2318, allocations: 7.984 kB / 495.4 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.2324, allocations: 172.9 kB / 495.6 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.876e-05/0.2325, allocations: 84.95 kB / 495.7 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.2325, allocations: 7.984 kB / 495.7 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.2327, allocations: 8.047 kB / 495.7 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.2327, allocations: 8 kB / 495.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.2328, allocations: 7.984 kB / 495.7 MB, free: 5.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.2329, allocations: 106.7 kB / 495.8 MB, free: 5.078 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2329, allocations: 0 / 495.8 MB, free: 5.078 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004005/0.2333, allocations: 20 kB / 495.8 MB, free: 5.059 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 0.0001768/0.2335, allocations: 95.19 kB / 495.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003766/0.2339, allocations: 83.89 kB / 496 MB, free: 4.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.2339, allocations: 0 / 496 MB, free: 4.871 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.2341, allocations: 39.92 kB / 496 MB, free: 4.832 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.2345, allocations: 15.98 kB / 496 MB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000907/0.2354, allocations: 317.6 kB / 496.4 MB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.2358, allocations: 0.7042 MB / 497.1 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.2359, allocations: 15.42 kB / 497.1 MB, free: 3.73 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.236, allocations: 7.938 kB / 497.1 MB, free: 3.723 MB / 378.7 MB Notification: Performance of Templates: time 0.004944/0.2409, allocations: 1.306 MB / 498.4 MB, free: 2.414 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