Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 104.3 kB / 17.73 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 191 kB / 18.67 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 55.91 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2644, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002218/0.2667, allocations: 1.373 MB / 402.8 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1515/0.4183, allocations: 149.1 MB / 0.5389 GB, free: 1.859 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.258e-05/0.4184, allocations: 4 kB / 0.5389 GB, free: 1.855 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.967e-05/0.4186, allocations: 7.922 kB / 0.5389 GB, free: 1.848 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.4202, allocations: 378.4 kB / 0.5393 GB, free: 1.477 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.4214, allocations: 0.5023 MB / 0.5398 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.4215, allocations: 71.66 kB / 0.5398 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.4216, allocations: 0 / 0.5398 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.905e-05/0.4216, allocations: 39.83 kB / 0.5399 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.78e-05/0.4217, allocations: 35.84 kB / 0.5399 GB, free: 0.832 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.4218, allocations: 0 / 0.5399 GB, free: 0.832 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2163/0.638, allocations: 1.077 MB / 0.5409 GB, free: 2.43 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.6381, allocations: 13.25 kB / 0.541 GB, free: 2.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.6382, allocations: 27.38 kB / 0.541 GB, free: 2.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.6397, allocations: 0.6887 MB / 0.5417 GB, free: 2.422 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.6397, allocations: 1.531 kB / 0.5417 GB, free: 2.422 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.6398, allocations: 0 / 0.5417 GB, free: 2.422 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.6398, allocations: 0.625 kB / 0.5417 GB, free: 2.422 MB / 462.1 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.0006645/0.6404, allocations: 456.5 kB / 0.5421 GB, free: 18.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.6405, allocations: 12.47 kB / 0.5421 GB, free: 18.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004725/0.641, allocations: 74.2 kB / 0.5422 GB, free: 18.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.6411, allocations: 194.8 kB / 0.5424 GB, free: 17.81 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.6411, allocations: 5.344 kB / 0.5424 GB, free: 17.81 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.6412, allocations: 6.906 kB / 0.5424 GB, free: 17.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.6413, allocations: 71.8 kB / 0.5424 GB, free: 17.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.6413, allocations: 0.5938 kB / 0.5424 GB, free: 17.76 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.6414, allocations: 5.125 kB / 0.5424 GB, free: 17.76 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.6414, allocations: 1.062 kB / 0.5425 GB, free: 17.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.6415, allocations: 39.77 kB / 0.5425 GB, free: 17.76 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.6417, allocations: 195.4 kB / 0.5427 GB, free: 17.56 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.642, allocations: 114.4 kB / 0.5428 GB, free: 17.51 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.276e-05/0.642, allocations: 40.44 kB / 0.5428 GB, free: 17.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004654/0.6425, allocations: 136.6 kB / 0.543 GB, free: 17.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.6426, allocations: 33.09 kB / 0.543 GB, free: 17.36 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.6426, allocations: 3.938 kB / 0.543 GB, free: 17.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003694/0.6429, allocations: 121 kB / 0.5431 GB, free: 17.33 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.643, allocations: 82.08 kB / 0.5432 GB, free: 17.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.6431, allocations: 140.5 kB / 0.5433 GB, free: 17.14 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.6431, allocations: 26.39 kB / 0.5433 GB, free: 17.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.6432, allocations: 92.36 kB / 0.5434 GB, free: 17.02 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.6432, allocations: 21.84 kB / 0.5434 GB, free: 17.01 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.6433, allocations: 22.88 kB / 0.5435 GB, free: 16.99 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.6434, allocations: 318.7 kB / 0.5438 GB, free: 16.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.688e-05/0.6434, allocations: 25.94 kB / 0.5438 GB, free: 16.68 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.817e-05/0.6435, allocations: 49.17 kB / 0.5438 GB, free: 16.65 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.6437, allocations: 80.25 kB / 0.5439 GB, free: 16.62 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6437, allocations: 0 / 0.5439 GB, free: 16.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002354/0.6439, allocations: 113.6 kB / 0.544 GB, free: 16.58 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.644, allocations: 9.5 kB / 0.544 GB, free: 16.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.644, allocations: 0 / 0.544 GB, free: 16.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.644, allocations: 4.062 kB / 0.544 GB, free: 16.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.644, allocations: 16.69 kB / 0.5441 GB, free: 16.58 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.6441, allocations: 3.188 kB / 0.5441 GB, free: 16.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.6441, allocations: 6.906 kB / 0.5441 GB, free: 16.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.6441, allocations: 7.031 kB / 0.5441 GB, free: 16.58 MB / 478.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.864e-05/0.6442, allocations: 119.2 kB / 0.5442 GB, free: 16.46 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.6442, allocations: 8.875 kB / 0.5442 GB, free: 16.46 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.6445, allocations: 116 kB / 0.5443 GB, free: 16.42 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6445, allocations: 0.7812 kB / 0.5443 GB, free: 16.42 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6445, allocations: 3.188 kB / 0.5443 GB, free: 16.42 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.6445, allocations: 0.8438 kB / 0.5443 GB, free: 16.42 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.6446, allocations: 189.4 kB / 0.5445 GB, free: 16.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6446, allocations: 2.25 kB / 0.5445 GB, free: 16.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.134e-05/0.6447, allocations: 16.23 kB / 0.5445 GB, free: 16.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.6447, allocations: 0.5156 kB / 0.5445 GB, free: 16.22 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.6447, allocations: 4.812 kB / 0.5445 GB, free: 16.22 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.6447, allocations: 6.312 kB / 0.5445 GB, free: 16.22 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6447, allocations: 0.9688 kB / 0.5445 GB, free: 16.22 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.645, allocations: 161.1 kB / 0.5447 GB, free: 16.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.6451, allocations: 88.27 kB / 0.5448 GB, free: 16.05 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.6451, allocations: 0.75 kB / 0.5448 GB, free: 16.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.284e-05/0.6451, allocations: 2.875 kB / 0.5448 GB, free: 16.05 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.6452, allocations: 10.64 kB / 0.5448 GB, free: 16.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.6452, allocations: 8.062 kB / 0.5448 GB, free: 16.05 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.13e-05/0.6453, allocations: 115.7 kB / 0.5449 GB, free: 15.97 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6453, allocations: 0.875 kB / 0.5449 GB, free: 15.97 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005057/0.6458, allocations: 160.9 kB / 0.545 GB, free: 15.94 MB / 478.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008557/0.6466, allocations: 426.3 kB / 0.5455 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.6468, allocations: 68.94 kB / 0.5455 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.6468, allocations: 0.8438 kB / 0.5455 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.02e-05/0.6469, allocations: 35.72 kB / 0.5456 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.6471, allocations: 24.61 kB / 0.5456 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.6476, allocations: 333.4 kB / 0.5459 GB, free: 15.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.6478, allocations: 0.6949 MB / 0.5466 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.6479, allocations: 18.12 kB / 0.5466 GB, free: 14.9 MB / 478.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6479, allocations: 0 / 0.5466 GB, free: 14.9 MB / 478.1 MB Notification: Performance of Templates: time 0.005192/0.6531, allocations: 4.005 MB / 0.5505 GB, free: 14.66 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches