Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.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) 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(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002646/0.002651, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.034/3.034, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.002021/0.002021, allocations: 94.86 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006417/0.0006419, allocations: 12 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1996, allocations: 47.57 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.00271/0.2024, allocations: 0.9141 MB / 375.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007089/0.2096, allocations: 1.853 MB / 377.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.2098, allocations: 0 / 377.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.302e-05/0.2098, allocations: 0 / 377.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.2121, allocations: 323.2 kB / 377.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.868e-05/0.2122, allocations: 4 kB / 377.6 MB, free: 12.33 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.2122, allocations: 7.922 kB / 377.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.779e-05/0.2123, allocations: 7.984 kB / 377.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.079e-05/0.2124, allocations: 0 / 377.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.2125, allocations: 7.984 kB / 377.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.2126, allocations: 0 / 377.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.2141, allocations: 355.6 kB / 378 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.2142, allocations: 0 / 378 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.2143, allocations: 33.62 kB / 378 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.2155, allocations: 215.7 kB / 378.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2156, allocations: 3.938 kB / 378.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.877e-06/0.2156, allocations: 0 / 378.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.2156, allocations: 0 / 378.2 MB, free: 11.71 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008654/0.2165, allocations: 407.3 kB / 378.6 MB, free: 11.26 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.573e-05/0.2166, allocations: 8.031 kB / 378.6 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.2167, allocations: 79.19 kB / 378.7 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.2171, allocations: 246.3 kB / 379 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.2172, allocations: 166.5 kB / 379.1 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.2173, allocations: 154.5 kB / 379.3 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.2175, allocations: 101 kB / 379.4 MB, free: 10.47 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.8e-05/0.2175, allocations: 75.28 kB / 379.4 MB, free: 10.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.2177, allocations: 154.6 kB / 379.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.946e-05/0.2178, allocations: 150.6 kB / 379.7 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.259e-05/0.2179, allocations: 154.6 kB / 379.9 MB, free: 9.945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.2185, allocations: 445.9 kB / 380.3 MB, free: 9.461 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.2187, allocations: 173.1 kB / 380.5 MB, free: 9.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.658e-05/0.2188, allocations: 79.23 kB / 380.6 MB, free: 9.203 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.219, allocations: 55.39 kB / 380.6 MB, free: 9.137 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.653e-06/0.2191, allocations: 0 / 380.6 MB, free: 9.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002389/0.2193, allocations: 33.64 kB / 380.7 MB, free: 9.098 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.2194, allocations: 55.34 kB / 380.7 MB, free: 9.031 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.2196, allocations: 105.8 kB / 380.8 MB, free: 8.918 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.2196, allocations: 25.7 kB / 380.8 MB, free: 8.887 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.2198, allocations: 154.7 kB / 381 MB, free: 8.734 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.2198, allocations: 0 / 381 MB, free: 8.734 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/0.2198, allocations: 0 / 381 MB, free: 8.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.2201, allocations: 310.8 kB / 381.3 MB, free: 8.422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.2201, allocations: 4 kB / 381.3 MB, free: 8.418 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.261e-05/0.2201, allocations: 0 / 381.3 MB, free: 8.418 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.72e-05/0.2202, allocations: 4 kB / 381.3 MB, free: 8.414 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2202, allocations: 0 / 381.3 MB, free: 8.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001349/0.2204, allocations: 45.67 kB / 381.3 MB, free: 8.363 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.2204, allocations: 8 kB / 381.4 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.2204, allocations: 0 / 381.4 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.2205, allocations: 0 / 381.4 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.594e-05/0.2205, allocations: 0 / 381.4 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.2206, allocations: 0 / 381.4 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/0.2206, allocations: 0 / 381.4 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.2207, allocations: 7.938 kB / 381.4 MB, free: 8.348 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001523/0.2208, allocations: 106.1 kB / 381.5 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.2209, allocations: 7.859 kB / 381.5 MB, free: 8.227 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.45e-05/0.221, allocations: 15.08 kB / 381.5 MB, free: 8.207 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.221, allocations: 3.984 kB / 381.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.2211, allocations: 0 / 381.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2211, allocations: 0 / 381.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.2213, allocations: 153.7 kB / 381.6 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.2214, allocations: 0 / 381.6 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.2214, allocations: 3.984 kB / 381.6 MB, free: 8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.2214, allocations: 0 / 381.6 MB, free: 8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.2215, allocations: 3.953 kB / 381.6 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2215, allocations: 0 / 381.6 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2215, allocations: 0 / 381.6 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.2217, allocations: 65.08 kB / 381.7 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.904e-05/0.2218, allocations: 81.09 kB / 381.8 MB, free: 7.816 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.2219, allocations: 192 / 381.8 MB, free: 7.816 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.423e-05/0.2219, allocations: 3.953 kB / 381.8 MB, free: 7.812 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.222, allocations: 7.984 kB / 381.8 MB, free: 7.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.222, allocations: 0 / 381.8 MB, free: 7.805 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001016/0.2221, allocations: 83.28 kB / 381.9 MB, free: 7.723 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.2221, allocations: 4.031 kB / 381.9 MB, free: 7.719 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001038/0.2232, allocations: 124 kB / 382 MB, free: 7.598 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.00227/0.2255, allocations: 467.5 kB / 382.5 MB, free: 7.148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.2257, allocations: 3.984 kB / 382.5 MB, free: 7.145 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.2258, allocations: 7.938 kB / 382.5 MB, free: 7.137 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/0.2258, allocations: 7.938 kB / 382.5 MB, free: 7.129 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.226, allocations: 4.125 kB / 382.5 MB, free: 7.125 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.2265, allocations: 138.3 kB / 382.6 MB, free: 6.957 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.227, allocations: 0.677 MB / 383.3 MB, free: 6.254 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.2271, allocations: 11.44 kB / 383.3 MB, free: 6.242 MB / 282.7 MB Notification: Performance of SimCode: time 1.683e-06/0.2271, allocations: 0 / 383.3 MB, free: 6.242 MB / 282.7 MB Notification: Performance of Templates: time 0.01514/0.2423, allocations: 3.232 MB / 386.5 MB, free: 3.008 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","../files/Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches