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.001096/0.001096, allocations: 114.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001131/0.001131, allocations: 206.8 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 67.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2086, allocations: 50.55 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002224/0.2109, allocations: 1.378 MB / 411.3 MB, free: 240 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3446/0.5555, allocations: 151.9 MB / 0.55 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.5556, allocations: 0 / 0.55 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.314e-05/0.5557, allocations: 5.297 kB / 0.55 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.5568, allocations: 379.3 kB / 0.5504 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.5579, allocations: 0.5113 MB / 0.5509 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.99e-05/0.558, allocations: 79.56 kB / 0.551 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.34e-05/0.558, allocations: 2.75 kB / 0.551 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.968e-05/0.5581, allocations: 29.5 kB / 0.551 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.716e-05/0.5582, allocations: 41.44 kB / 0.551 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.5582, allocations: 1.375 kB / 0.551 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.5598, allocations: 1.089 MB / 0.5521 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.5599, allocations: 16.33 kB / 0.5521 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.5599, allocations: 23.44 kB / 0.5521 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008667/0.5608, allocations: 0.698 MB / 0.5528 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5608, allocations: 3.562 kB / 0.5528 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.5608, allocations: 0 / 0.5528 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.5608, allocations: 0 / 0.5528 GB, free: 0.8633 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.0005446/0.5614, allocations: 469.8 kB / 0.5533 GB, free: 16.44 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.5614, allocations: 7.375 kB / 0.5533 GB, free: 16.44 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004413/0.5619, allocations: 70.89 kB / 0.5533 GB, free: 16.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.562, allocations: 197.6 kB / 0.5535 GB, free: 16.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.5621, allocations: 6.812 kB / 0.5535 GB, free: 16.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.5621, allocations: 2.531 kB / 0.5535 GB, free: 16.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.5622, allocations: 75.16 kB / 0.5536 GB, free: 16.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.5622, allocations: 4 kB / 0.5536 GB, free: 16.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.5623, allocations: 1.203 kB / 0.5536 GB, free: 16.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.5623, allocations: 3.984 kB / 0.5536 GB, free: 16.17 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.5624, allocations: 43.22 kB / 0.5537 GB, free: 16.17 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.5625, allocations: 194.5 kB / 0.5539 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.5628, allocations: 115.8 kB / 0.554 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.5629, allocations: 37.66 kB / 0.554 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004747/0.5633, allocations: 138.3 kB / 0.5541 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.5634, allocations: 33.19 kB / 0.5542 GB, free: 15.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.5634, allocations: 0 / 0.5542 GB, free: 15.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.000325/0.5637, allocations: 118.6 kB / 0.5543 GB, free: 15.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.5638, allocations: 80.06 kB / 0.5544 GB, free: 15.64 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.5639, allocations: 142.4 kB / 0.5545 GB, free: 15.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.5639, allocations: 29.7 kB / 0.5545 GB, free: 15.51 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.5639, allocations: 85.89 kB / 0.5546 GB, free: 15.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.564, allocations: 26.27 kB / 0.5546 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.564, allocations: 21.94 kB / 0.5546 GB, free: 15.39 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.753e-05/0.5641, allocations: 319.6 kB / 0.5549 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.609e-05/0.5642, allocations: 25.83 kB / 0.555 GB, free: 15.08 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.477e-05/0.5642, allocations: 53.95 kB / 0.555 GB, free: 15.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.5644, allocations: 73.91 kB / 0.5551 GB, free: 15.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5644, allocations: 2.188 kB / 0.5551 GB, free: 15.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002312/0.5646, allocations: 118.6 kB / 0.5552 GB, free: 14.97 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.5646, allocations: 4.938 kB / 0.5552 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5646, allocations: 6.656 kB / 0.5552 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.5647, allocations: 0 / 0.5552 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/0.5647, allocations: 16.27 kB / 0.5552 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.5647, allocations: 2.969 kB / 0.5552 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.5648, allocations: 6.734 kB / 0.5552 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.5648, allocations: 9.375 kB / 0.5553 GB, free: 14.96 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.231e-05/0.5649, allocations: 116.7 kB / 0.5554 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.5649, allocations: 5.469 kB / 0.5554 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.5652, allocations: 124 kB / 0.5555 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5652, allocations: 0 / 0.5555 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5652, allocations: 0.875 kB / 0.5555 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.5653, allocations: 93.33 kB / 0.5556 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.5653, allocations: 2.344 kB / 0.5556 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.574e-05/0.5653, allocations: 0 / 0.5556 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.5654, allocations: 16 kB / 0.5556 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003976/0.5658, allocations: 264.2 kB / 0.5558 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003767/0.5662, allocations: 383.3 kB / 0.5562 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.09e-05/0.5662, allocations: 28.23 kB / 0.5562 GB, free: 14.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.245e-05/0.5663, allocations: 115.2 kB / 0.5564 GB, free: 14.15 MB / 478.1 MB Notification: Performance of Backend: time 2.21e-07/0.5663, allocations: 0 / 0.5564 GB, free: 14.15 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.5676, allocations: 469.2 kB / 0.5568 GB, free: 14.02 MB / 478.1 MB Notification: Performance of SimCode: time 0.0006289/0.5682, allocations: 0.7567 MB / 0.5575 GB, free: 13.32 MB / 478.1 MB Notification: Performance of Templates: time 0.007658/0.5759, allocations: 5.071 MB / 0.5625 GB, free: 12.78 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