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.00116/0.00116, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2343, allocations: 50.54 MB / 409.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002443/0.2368, allocations: 1.381 MB / 411.3 MB, free: 356 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.4013/0.6382, allocations: 151.9 MB / 0.55 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.6383, allocations: 5.781 kB / 0.55 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4e-05/0.6383, allocations: 6.297 kB / 0.55 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.6394, allocations: 373.8 kB / 0.5504 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.6405, allocations: 0.5058 MB / 0.5509 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.6406, allocations: 72.95 kB / 0.5509 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.6406, allocations: 10.48 kB / 0.5509 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.386e-05/0.6407, allocations: 33.45 kB / 0.551 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.618e-05/0.6408, allocations: 30.5 kB / 0.551 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.6408, allocations: 2.281 kB / 0.551 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.6425, allocations: 1.085 MB / 0.5521 GB, free: 0.918 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.6425, allocations: 21.97 kB / 0.5521 GB, free: 0.918 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.6426, allocations: 24.61 kB / 0.5521 GB, free: 0.918 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00092/0.6435, allocations: 0.699 MB / 0.5528 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.6435, allocations: 1.203 kB / 0.5528 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6435, allocations: 0 / 0.5528 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.6435, allocations: 0 / 0.5528 GB, free: 0.8828 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.0006398/0.6442, allocations: 453.6 kB / 0.5532 GB, free: 16.47 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.6442, allocations: 12.28 kB / 0.5532 GB, free: 16.47 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004621/0.6447, allocations: 70.67 kB / 0.5533 GB, free: 16.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.6449, allocations: 193 kB / 0.5535 GB, free: 16.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.6449, allocations: 10.25 kB / 0.5535 GB, free: 16.26 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.6449, allocations: 6.938 kB / 0.5535 GB, free: 16.26 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.6451, allocations: 74.8 kB / 0.5536 GB, free: 16.21 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.6451, allocations: 0 / 0.5536 GB, free: 16.21 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.6451, allocations: 0 / 0.5536 GB, free: 16.21 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.6451, allocations: 3.094 kB / 0.5536 GB, free: 16.21 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.254e-05/0.6452, allocations: 42.78 kB / 0.5536 GB, free: 16.21 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.6454, allocations: 196.1 kB / 0.5538 GB, free: 16.01 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.6457, allocations: 115.7 kB / 0.5539 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.707e-05/0.6457, allocations: 38.59 kB / 0.554 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004941/0.6462, allocations: 142.7 kB / 0.5541 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.6463, allocations: 35.97 kB / 0.5541 GB, free: 15.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.6463, allocations: 0 / 0.5541 GB, free: 15.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003358/0.6466, allocations: 120.9 kB / 0.5542 GB, free: 15.76 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.6467, allocations: 77.11 kB / 0.5543 GB, free: 15.67 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.6468, allocations: 142.5 kB / 0.5545 GB, free: 15.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.6468, allocations: 25.7 kB / 0.5545 GB, free: 15.54 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.6469, allocations: 96.3 kB / 0.5546 GB, free: 15.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.6469, allocations: 17 kB / 0.5546 GB, free: 15.44 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.6469, allocations: 25.59 kB / 0.5546 GB, free: 15.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6471, allocations: 319.6 kB / 0.5549 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-05/0.6471, allocations: 24.92 kB / 0.5549 GB, free: 15.11 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.521e-05/0.6472, allocations: 52.78 kB / 0.555 GB, free: 15.08 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.6473, allocations: 82.84 kB / 0.5551 GB, free: 15.05 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.6473, allocations: 9.031 kB / 0.5551 GB, free: 15.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002442/0.6476, allocations: 102.2 kB / 0.5552 GB, free: 15.01 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.6476, allocations: 7.562 kB / 0.5552 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.6476, allocations: 0 / 0.5552 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.6476, allocations: 2.875 kB / 0.5552 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/0.6477, allocations: 17.28 kB / 0.5552 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.6477, allocations: 2.625 kB / 0.5552 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.6478, allocations: 14.31 kB / 0.5552 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.6478, allocations: 2.25 kB / 0.5552 GB, free: 15 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.503e-05/0.6479, allocations: 126.8 kB / 0.5553 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.6479, allocations: 10.28 kB / 0.5553 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.6482, allocations: 115.4 kB / 0.5555 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6482, allocations: 4.031 kB / 0.5555 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6482, allocations: 0 / 0.5555 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6482, allocations: 2.25 kB / 0.5555 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.6483, allocations: 188.3 kB / 0.5556 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6483, allocations: 0 / 0.5556 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.561e-05/0.6484, allocations: 16.84 kB / 0.5557 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.6484, allocations: 2.594 kB / 0.5557 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.6484, allocations: 3.688 kB / 0.5557 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.6485, allocations: 1.094 kB / 0.5557 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6485, allocations: 2.375 kB / 0.5557 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.6488, allocations: 165.8 kB / 0.5558 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.725e-05/0.6489, allocations: 85.83 kB / 0.5559 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.6489, allocations: 2.5 kB / 0.5559 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-05/0.6489, allocations: 2.906 kB / 0.5559 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.649, allocations: 8.75 kB / 0.5559 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.649, allocations: 4.953 kB / 0.5559 GB, free: 14.45 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.699e-05/0.6491, allocations: 112 kB / 0.556 GB, free: 14.38 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6491, allocations: 0 / 0.556 GB, free: 14.38 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005562/0.6496, allocations: 163.6 kB / 0.5562 GB, free: 14.34 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.0009029/0.6505, allocations: 442.8 kB / 0.5566 GB, free: 14.19 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.6507, allocations: 67.02 kB / 0.5567 GB, free: 14.19 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6508, allocations: 0 / 0.5567 GB, free: 14.19 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.52e-05/0.6508, allocations: 23.5 kB / 0.5567 GB, free: 14.19 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.6511, allocations: 39.91 kB / 0.5567 GB, free: 14.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.6516, allocations: 326 kB / 0.557 GB, free: 13.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.6519, allocations: 0.6908 MB / 0.5577 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.652, allocations: 18.42 kB / 0.5577 GB, free: 13.22 MB / 478.1 MB Notification: Performance of SimCode: time 3.41e-07/0.652, allocations: 0 / 0.5577 GB, free: 13.22 MB / 478.1 MB Notification: Performance of Templates: time 0.005781/0.6578, allocations: 4.063 MB / 0.5617 GB, free: 12.72 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