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.0011/0.0011, allocations: 111.1 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.001151/0.001151, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2059, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002002/0.208, allocations: 1.39 MB / 411.3 MB, free: 224 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3496/0.5575, allocations: 151.9 MB / 0.55 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.5576, allocations: 1.203 kB / 0.55 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.5577, allocations: 6.688 kB / 0.55 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.5588, allocations: 374.8 kB / 0.5504 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.5598, allocations: 0.5054 MB / 0.5509 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.5599, allocations: 74.48 kB / 0.551 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.56, allocations: 9.609 kB / 0.551 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.566e-05/0.56, allocations: 34.02 kB / 0.551 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.536e-05/0.5601, allocations: 33.33 kB / 0.551 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.5601, allocations: 2.75 kB / 0.551 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.5618, allocations: 1.089 MB / 0.5521 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.5618, allocations: 10.05 kB / 0.5521 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.5618, allocations: 27.02 kB / 0.5521 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.5629, allocations: 0.7016 MB / 0.5528 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5629, allocations: 0 / 0.5528 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.5629, allocations: 2.469 kB / 0.5528 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.5629, allocations: 0 / 0.5528 GB, free: 0.8203 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.0005755/0.5635, allocations: 454.9 kB / 0.5532 GB, free: 16.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.5635, allocations: 10.75 kB / 0.5533 GB, free: 16.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004416/0.564, allocations: 68.52 kB / 0.5533 GB, free: 16.4 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.5641, allocations: 196.7 kB / 0.5535 GB, free: 16.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.5642, allocations: 7.938 kB / 0.5535 GB, free: 16.2 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.5642, allocations: 2.562 kB / 0.5535 GB, free: 16.2 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.5643, allocations: 74.92 kB / 0.5536 GB, free: 16.15 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.5643, allocations: 0 / 0.5536 GB, free: 16.15 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.5644, allocations: 0 / 0.5536 GB, free: 16.15 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.5644, allocations: 2.375 kB / 0.5536 GB, free: 16.15 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.88e-05/0.5645, allocations: 43.95 kB / 0.5536 GB, free: 16.15 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.5646, allocations: 196.5 kB / 0.5538 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.5649, allocations: 115.9 kB / 0.5539 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.251e-05/0.565, allocations: 38.62 kB / 0.554 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004951/0.5655, allocations: 140.9 kB / 0.5541 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.5655, allocations: 33.44 kB / 0.5541 GB, free: 15.74 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.5655, allocations: 0 / 0.5541 GB, free: 15.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003178/0.5658, allocations: 120.4 kB / 0.5543 GB, free: 15.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.5659, allocations: 86.81 kB / 0.5543 GB, free: 15.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.745e-05/0.566, allocations: 139.3 kB / 0.5545 GB, free: 15.51 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.566, allocations: 28.8 kB / 0.5545 GB, free: 15.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.566, allocations: 86.11 kB / 0.5546 GB, free: 15.39 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.5661, allocations: 20.84 kB / 0.5546 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.5661, allocations: 18.72 kB / 0.5546 GB, free: 15.37 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.5662, allocations: 324 kB / 0.5549 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.497e-05/0.5663, allocations: 27.22 kB / 0.555 GB, free: 15.05 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.164e-05/0.5663, allocations: 49.42 kB / 0.555 GB, free: 15.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.5665, allocations: 81.27 kB / 0.5551 GB, free: 14.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5665, allocations: 4 kB / 0.5551 GB, free: 14.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000223/0.5667, allocations: 110.9 kB / 0.5552 GB, free: 14.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.5667, allocations: 5.891 kB / 0.5552 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.5667, allocations: 0 / 0.5552 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.5667, allocations: 2.938 kB / 0.5552 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.5668, allocations: 16.53 kB / 0.5552 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.5668, allocations: 0 / 0.5552 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.5669, allocations: 9.25 kB / 0.5552 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.5669, allocations: 10.28 kB / 0.5552 GB, free: 14.93 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.375e-05/0.567, allocations: 127 kB / 0.5554 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.567, allocations: 6.469 kB / 0.5554 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.5673, allocations: 115.2 kB / 0.5555 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.5673, allocations: 0 / 0.5555 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5673, allocations: 0 / 0.5555 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.5673, allocations: 87.45 kB / 0.5556 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.5674, allocations: 0 / 0.5556 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.654e-05/0.5674, allocations: 14.38 kB / 0.5556 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.5674, allocations: 10.41 kB / 0.5556 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003882/0.5678, allocations: 263.4 kB / 0.5558 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003654/0.5682, allocations: 386.3 kB / 0.5562 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.845e-05/0.5683, allocations: 31.33 kB / 0.5562 GB, free: 14.19 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.138e-05/0.5684, allocations: 111.9 kB / 0.5563 GB, free: 14.12 MB / 478.1 MB Notification: Performance of Backend: time 3.01e-07/0.5684, allocations: 0 / 0.5563 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.5696, allocations: 465.4 kB / 0.5568 GB, free: 13.99 MB / 478.1 MB Notification: Performance of SimCode: time 0.0006572/0.5703, allocations: 0.754 MB / 0.5575 GB, free: 13.29 MB / 478.1 MB Notification: Performance of Templates: time 0.007429/0.5777, allocations: 5.065 MB / 0.5625 GB, free: 12.75 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