Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001657/0.001656, allocations: 182.8 kB / 18.04 MB, free: 3.754 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.641/1.641, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0008689/0.0008691, allocations: 78.44 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003375, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2811, allocations: 47.57 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.536/1.817, allocations: 0.7481 GB / 1.116 GB, free: 19.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/1.817, allocations: 71.95 kB / 1.116 GB, free: 19.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3702/2.188, allocations: 77.81 MB / 1.192 GB, free: 114.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.883e-06/2.188, allocations: 3.938 kB / 1.192 GB, free: 114.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/2.188, allocations: 4 kB / 1.192 GB, free: 114.7 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009028/2.189, allocations: 494.9 kB / 1.193 GB, free: 114.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/2.189, allocations: 8.031 kB / 1.193 GB, free: 114.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002835/2.189, allocations: 36.8 kB / 1.193 GB, free: 114.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/2.189, allocations: 192.3 kB / 1.193 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/2.189, allocations: 4.375 kB / 1.193 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/2.189, allocations: 4.281 kB / 1.193 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/2.189, allocations: 79.92 kB / 1.193 GB, free: 113.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/2.189, allocations: 192 / 1.193 GB, free: 113.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/2.189, allocations: 15.94 kB / 1.193 GB, free: 113.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/2.189, allocations: 3.938 kB / 1.193 GB, free: 113.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/2.19, allocations: 39.95 kB / 1.193 GB, free: 113.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/2.19, allocations: 190.6 kB / 1.193 GB, free: 113.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/2.19, allocations: 121.1 kB / 1.193 GB, free: 113.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/2.19, allocations: 37.75 kB / 1.193 GB, free: 113.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000348/2.19, allocations: 133 kB / 1.194 GB, free: 113.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/2.19, allocations: 42.48 kB / 1.194 GB, free: 113.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/2.191, allocations: 0 / 1.194 GB, free: 113.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003561/2.191, allocations: 129.8 kB / 1.194 GB, free: 113 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/2.191, allocations: 77.11 kB / 1.194 GB, free: 112.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.846e-05/2.191, allocations: 141.8 kB / 1.194 GB, free: 112.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/2.191, allocations: 25.7 kB / 1.194 GB, free: 112.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/2.191, allocations: 88.14 kB / 1.194 GB, free: 112.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/2.191, allocations: 23.73 kB / 1.194 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/2.191, allocations: 4 kB / 1.194 GB, free: 112.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.627e-05/2.191, allocations: 318.8 kB / 1.194 GB, free: 112.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.441e-05/2.191, allocations: 31.84 kB / 1.194 GB, free: 112.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/2.191, allocations: 51.41 kB / 1.195 GB, free: 112.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/2.191, allocations: 87.31 kB / 1.195 GB, free: 112.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/2.191, allocations: 0 / 1.195 GB, free: 112.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002252/2.192, allocations: 117.5 kB / 1.195 GB, free: 112 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/2.192, allocations: 4 kB / 1.195 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/2.192, allocations: 7.938 kB / 1.195 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/2.192, allocations: 0 / 1.195 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/2.192, allocations: 15.98 kB / 1.195 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/2.192, allocations: 8.062 kB / 1.195 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.013e-05/2.192, allocations: 3.906 kB / 1.195 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/2.192, allocations: 15.92 kB / 1.195 GB, free: 111.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.952e-05/2.192, allocations: 113.8 kB / 1.195 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/2.192, allocations: 4 kB / 1.195 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/2.192, allocations: 125.4 kB / 1.195 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/2.192, allocations: 4 kB / 1.195 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/2.192, allocations: 3.984 kB / 1.195 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/2.192, allocations: 4 kB / 1.195 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/2.192, allocations: 185.5 kB / 1.195 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/2.192, allocations: 0 / 1.195 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/2.193, allocations: 12 kB / 1.195 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/2.193, allocations: 0 / 1.195 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/2.193, allocations: 11.92 kB / 1.195 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/2.193, allocations: 4.094 kB / 1.195 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/2.193, allocations: 0 / 1.195 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/2.193, allocations: 177.7 kB / 1.195 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.336e-05/2.193, allocations: 97.12 kB / 1.195 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/2.193, allocations: 7.922 kB / 1.195 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.498e-05/2.193, allocations: 8.062 kB / 1.195 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/2.193, allocations: 4 kB / 1.195 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/2.193, allocations: 7.984 kB / 1.195 GB, free: 111.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.627e-05/2.193, allocations: 107.6 kB / 1.196 GB, free: 111 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.3e-07/2.193, allocations: 4.062 kB / 1.196 GB, free: 110.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009558/2.194, allocations: 263.7 kB / 1.196 GB, free: 110.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.002031/2.196, allocations: 0.9577 MB / 1.197 GB, free: 109.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001915/2.196, allocations: 59.95 kB / 1.197 GB, free: 109.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/2.196, allocations: 0 / 1.197 GB, free: 109.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.106e-05/2.196, allocations: 35.92 kB / 1.197 GB, free: 109.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/2.197, allocations: 19.98 kB / 1.197 GB, free: 109.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005333/2.197, allocations: 375.6 kB / 1.197 GB, free: 109.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/2.197, allocations: 0.6926 MB / 1.198 GB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.552e-05/2.198, allocations: 20.19 kB / 1.198 GB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/2.198, allocations: 15.44 kB / 1.198 GB, free: 108.5 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/2.198, allocations: 0 / 1.198 GB, free: 108.5 MB / 426.7 MB Notification: Performance of Templates: time 0.01647/2.214, allocations: 13.12 MB / 1.211 GB, free: 95.35 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches