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.001441/0.001441, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.001593/0.001593, allocations: 191 kB / 18 MB, free: 5.207 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.379/1.379, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 43.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2545, allocations: 49.44 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002402/0.2569, allocations: 1.368 MB / 402.1 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1462/0.4031, allocations: 149.1 MB / 0.5382 GB, free: 1.855 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.881e-05/0.4032, allocations: 0 / 0.5382 GB, free: 1.855 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.4033, allocations: 7.922 kB / 0.5382 GB, free: 1.848 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.4044, allocations: 382.4 kB / 0.5386 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.4054, allocations: 0.5057 MB / 0.5391 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.4056, allocations: 75.64 kB / 0.5392 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.24e-05/0.4056, allocations: 4 kB / 0.5392 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.126e-05/0.4057, allocations: 35.84 kB / 0.5392 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.4057, allocations: 35.84 kB / 0.5392 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.4058, allocations: 0 / 0.5392 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2163/0.6221, allocations: 1.074 MB / 0.5403 GB, free: 2.406 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.855e-05/0.6222, allocations: 12.97 kB / 0.5403 GB, free: 2.406 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.367e-05/0.6223, allocations: 26 kB / 0.5403 GB, free: 2.406 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.6243, allocations: 0.6883 MB / 0.541 GB, free: 2.398 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.6244, allocations: 4.062 kB / 0.541 GB, free: 2.398 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.6244, allocations: 1 kB / 0.541 GB, free: 2.398 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.6244, allocations: 1.594 kB / 0.541 GB, free: 2.398 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.0008833/0.6253, allocations: 456.6 kB / 0.5414 GB, free: 17.99 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.6253, allocations: 9.312 kB / 0.5414 GB, free: 17.99 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005375/0.6259, allocations: 70.52 kB / 0.5415 GB, free: 17.99 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.6261, allocations: 198 kB / 0.5417 GB, free: 17.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.6261, allocations: 3 kB / 0.5417 GB, free: 17.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.6261, allocations: 8.453 kB / 0.5417 GB, free: 17.78 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.6263, allocations: 74.91 kB / 0.5418 GB, free: 17.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.6263, allocations: 1.594 kB / 0.5418 GB, free: 17.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.6263, allocations: 3.625 kB / 0.5418 GB, free: 17.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.6264, allocations: 1.969 kB / 0.5418 GB, free: 17.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.6265, allocations: 45.3 kB / 0.5418 GB, free: 17.73 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.6267, allocations: 190.8 kB / 0.542 GB, free: 17.54 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.627, allocations: 118.2 kB / 0.5421 GB, free: 17.49 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.224e-05/0.6271, allocations: 35.12 kB / 0.5422 GB, free: 17.47 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005509/0.6277, allocations: 137.5 kB / 0.5423 GB, free: 17.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.6277, allocations: 36.66 kB / 0.5423 GB, free: 17.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.6277, allocations: 0 / 0.5423 GB, free: 17.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004737/0.6282, allocations: 123.4 kB / 0.5424 GB, free: 17.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.6283, allocations: 78.64 kB / 0.5425 GB, free: 17.21 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.6284, allocations: 147.7 kB / 0.5427 GB, free: 17.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.6285, allocations: 26.7 kB / 0.5427 GB, free: 17.08 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.6285, allocations: 86.89 kB / 0.5428 GB, free: 17 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.6286, allocations: 25.25 kB / 0.5428 GB, free: 16.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.6286, allocations: 25.8 kB / 0.5428 GB, free: 16.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6288, allocations: 316.3 kB / 0.5431 GB, free: 16.65 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.009e-05/0.6289, allocations: 24.27 kB / 0.5431 GB, free: 16.65 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.612e-05/0.629, allocations: 50.02 kB / 0.5432 GB, free: 16.62 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.6292, allocations: 82.66 kB / 0.5433 GB, free: 16.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.6292, allocations: 0.6562 kB / 0.5433 GB, free: 16.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002828/0.6295, allocations: 113.5 kB / 0.5434 GB, free: 16.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.6295, allocations: 7.844 kB / 0.5434 GB, free: 16.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.6295, allocations: 3.562 kB / 0.5434 GB, free: 16.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.6296, allocations: 0.9062 kB / 0.5434 GB, free: 16.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.064e-05/0.6296, allocations: 15.84 kB / 0.5434 GB, free: 16.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.6296, allocations: 1.25 kB / 0.5434 GB, free: 16.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.6297, allocations: 11.22 kB / 0.5434 GB, free: 16.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.6297, allocations: 3.312 kB / 0.5434 GB, free: 16.55 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 7.186e-05/0.6298, allocations: 123.9 kB / 0.5435 GB, free: 16.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.6298, allocations: 4.219 kB / 0.5435 GB, free: 16.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.6301, allocations: 114.3 kB / 0.5437 GB, free: 16.39 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6301, allocations: 0 / 0.5437 GB, free: 16.39 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6301, allocations: 4 kB / 0.5437 GB, free: 16.39 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6301, allocations: 3.406 kB / 0.5437 GB, free: 16.39 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.6302, allocations: 190.1 kB / 0.5438 GB, free: 16.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.6302, allocations: 0.9062 kB / 0.5438 GB, free: 16.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.6303, allocations: 15.08 kB / 0.5439 GB, free: 16.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.6303, allocations: 8.047 kB / 0.5439 GB, free: 16.19 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.6303, allocations: 6.844 kB / 0.5439 GB, free: 16.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6304, allocations: 0 / 0.5439 GB, free: 16.19 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6304, allocations: 0.8125 kB / 0.5439 GB, free: 16.19 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.6307, allocations: 165.1 kB / 0.544 GB, free: 16.11 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.6307, allocations: 86.28 kB / 0.5441 GB, free: 16.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.6307, allocations: 2.156 kB / 0.5441 GB, free: 16.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.533e-05/0.6308, allocations: 4.375 kB / 0.5441 GB, free: 16.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.6308, allocations: 14.33 kB / 0.5441 GB, free: 16.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.6309, allocations: 0.9375 kB / 0.5441 GB, free: 16.02 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.561e-05/0.6309, allocations: 111.8 kB / 0.5442 GB, free: 15.94 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6309, allocations: 0.8125 kB / 0.5442 GB, free: 15.94 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005266/0.6315, allocations: 162.1 kB / 0.5444 GB, free: 15.91 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.00104/0.6325, allocations: 435.9 kB / 0.5448 GB, free: 15.78 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.6328, allocations: 62.81 kB / 0.5449 GB, free: 15.78 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6328, allocations: 0 / 0.5449 GB, free: 15.78 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 7.039e-05/0.6329, allocations: 33.3 kB / 0.5449 GB, free: 15.78 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.6331, allocations: 30.08 kB / 0.5449 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.6337, allocations: 303.8 kB / 0.5452 GB, free: 15.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.6339, allocations: 0.6929 MB / 0.5459 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.451e-05/0.634, allocations: 20.86 kB / 0.5459 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.634, allocations: 15.94 kB / 0.5459 GB, free: 14.9 MB / 478.1 MB Notification: Performance of SimCode: time 2.41e-07/0.634, allocations: 4.844 kB / 0.5459 GB, free: 14.89 MB / 478.1 MB Notification: Performance of Templates: time 0.007635/0.6417, allocations: 4.721 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/jenkins/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/jenkins/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