Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001718/0.001719, allocations: 117.7 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002219/0.002219, allocations: 204.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.262/2.262, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 59.91 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4236, allocations: 50.54 MB / 409.9 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.003664/0.4273, allocations: 1.378 MB / 411.3 MB, free: 276 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.6146/1.042, allocations: 151.9 MB / 0.55 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/1.042, allocations: 1.375 kB / 0.55 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.547e-05/1.042, allocations: 5.344 kB / 0.55 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001659/1.044, allocations: 376.1 kB / 0.5504 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001831/1.046, allocations: 0.5036 MB / 0.5509 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/1.046, allocations: 75.27 kB / 0.5509 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.234e-05/1.046, allocations: 2.375 kB / 0.5509 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.08e-05/1.046, allocations: 34.09 kB / 0.551 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/1.046, allocations: 31.34 kB / 0.551 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/1.046, allocations: 5.344 kB / 0.551 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002694/1.049, allocations: 1.087 MB / 0.5521 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/1.049, allocations: 23.06 kB / 0.5521 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/1.049, allocations: 29.14 kB / 0.5521 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001571/1.051, allocations: 0.6881 MB / 0.5528 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.051, allocations: 0 / 0.5528 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.633e-06/1.051, allocations: 0 / 0.5528 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.63e-05/1.051, allocations: 2.594 kB / 0.5528 GB, free: 0.8555 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.0009206/1.052, allocations: 457.5 kB / 0.5532 GB, free: 16.44 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.052, allocations: 14.56 kB / 0.5532 GB, free: 16.44 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000745/1.052, allocations: 70.92 kB / 0.5533 GB, free: 16.44 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/1.053, allocations: 193.4 kB / 0.5535 GB, free: 16.24 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/1.053, allocations: 7.938 kB / 0.5535 GB, free: 16.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/1.053, allocations: 2.688 kB / 0.5535 GB, free: 16.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/1.053, allocations: 70.5 kB / 0.5536 GB, free: 16.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/1.053, allocations: 0 / 0.5536 GB, free: 16.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/1.053, allocations: 3.094 kB / 0.5536 GB, free: 16.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.053, allocations: 3.656 kB / 0.5536 GB, free: 16.18 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/1.053, allocations: 40.42 kB / 0.5536 GB, free: 16.18 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/1.054, allocations: 197.3 kB / 0.5538 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/1.054, allocations: 118.9 kB / 0.5539 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.953e-05/1.054, allocations: 34.34 kB / 0.554 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007286/1.055, allocations: 144.8 kB / 0.5541 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/1.055, allocations: 36.66 kB / 0.5541 GB, free: 15.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/1.055, allocations: 4 kB / 0.5541 GB, free: 15.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005156/1.055, allocations: 113 kB / 0.5542 GB, free: 15.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/1.055, allocations: 82.58 kB / 0.5543 GB, free: 15.64 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/1.056, allocations: 144.2 kB / 0.5545 GB, free: 15.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/1.056, allocations: 29.64 kB / 0.5545 GB, free: 15.51 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/1.056, allocations: 88.34 kB / 0.5546 GB, free: 15.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.702e-05/1.056, allocations: 21.27 kB / 0.5546 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/1.056, allocations: 18.09 kB / 0.5546 GB, free: 15.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/1.056, allocations: 323 kB / 0.5549 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.592e-05/1.056, allocations: 23.44 kB / 0.5549 GB, free: 15.08 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/1.056, allocations: 53.94 kB / 0.555 GB, free: 15.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/1.056, allocations: 83.64 kB / 0.5551 GB, free: 15.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.056, allocations: 3.938 kB / 0.5551 GB, free: 15.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003787/1.057, allocations: 104 kB / 0.5552 GB, free: 14.98 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.057, allocations: 6.688 kB / 0.5552 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.057, allocations: 0 / 0.5552 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.057, allocations: 2.531 kB / 0.5552 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/1.057, allocations: 16.94 kB / 0.5552 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/1.057, allocations: 4.344 kB / 0.5552 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.108e-05/1.057, allocations: 16.91 kB / 0.5552 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/1.057, allocations: 2.594 kB / 0.5552 GB, free: 14.97 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 0.0001034/1.057, allocations: 122.9 kB / 0.5553 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.636e-05/1.057, allocations: 11.66 kB / 0.5553 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/1.058, allocations: 118.2 kB / 0.5555 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.058, allocations: 0 / 0.5555 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.058, allocations: 0 / 0.5555 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.058, allocations: 5.5 kB / 0.5555 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/1.058, allocations: 185.9 kB / 0.5556 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.058, allocations: 3.375 kB / 0.5556 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/1.058, allocations: 13.28 kB / 0.5557 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.058, allocations: 0 / 0.5557 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/1.058, allocations: 3.094 kB / 0.5557 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/1.058, allocations: 0 / 0.5557 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.058, allocations: 2.656 kB / 0.5557 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/1.059, allocations: 166.7 kB / 0.5558 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.98e-05/1.059, allocations: 88.53 kB / 0.5559 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/1.059, allocations: 1.938 kB / 0.5559 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/1.059, allocations: 3.688 kB / 0.5559 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/1.059, allocations: 8.016 kB / 0.5559 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/1.059, allocations: 4.062 kB / 0.5559 GB, free: 14.42 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001124/1.059, allocations: 114.5 kB / 0.556 GB, free: 14.35 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/1.059, allocations: 0 / 0.556 GB, free: 14.35 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009751/1.06, allocations: 165.5 kB / 0.5562 GB, free: 14.31 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.001507/1.062, allocations: 438.5 kB / 0.5566 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003039/1.062, allocations: 66.72 kB / 0.5567 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.062, allocations: 0 / 0.5567 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/1.062, allocations: 30.41 kB / 0.5567 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/1.062, allocations: 32.47 kB / 0.5567 GB, free: 14.15 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007527/1.063, allocations: 327 kB / 0.557 GB, free: 13.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/1.064, allocations: 0.6947 MB / 0.5577 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/1.064, allocations: 14.81 kB / 0.5577 GB, free: 13.19 MB / 478.1 MB Notification: Performance of SimCode: time 3.1e-07/1.064, allocations: 0 / 0.5577 GB, free: 13.19 MB / 478.1 MB Notification: Performance of Templates: time 0.009545/1.073, allocations: 4.074 MB / 0.5617 GB, free: 12.69 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches