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.001162/0.001162, allocations: 109.1 kB / 17.74 MB, free: 5.188 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.001225/0.001225, allocations: 193.6 kB / 18.67 MB, free: 4.266 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.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 51.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2539, allocations: 49.42 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002381/0.2563, allocations: 1.385 MB / 402.8 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1487/0.405, allocations: 149 MB / 0.5389 GB, free: 1.836 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.06e-05/0.4051, allocations: 4 kB / 0.5389 GB, free: 1.832 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.636e-05/0.4052, allocations: 3.984 kB / 0.5389 GB, free: 1.828 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.4065, allocations: 382.4 kB / 0.5393 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.4078, allocations: 0.5028 MB / 0.5398 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.4079, allocations: 67.72 kB / 0.5398 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.4079, allocations: 4 kB / 0.5398 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.394e-05/0.408, allocations: 39.83 kB / 0.5399 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.383e-05/0.4081, allocations: 43.78 kB / 0.5399 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.4081, allocations: 0 / 0.5399 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2404/0.6486, allocations: 1.069 MB / 0.5409 GB, free: 2.352 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.716e-05/0.6487, allocations: 9.062 kB / 0.541 GB, free: 2.352 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.6488, allocations: 31.83 kB / 0.541 GB, free: 2.352 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.6506, allocations: 0.6829 MB / 0.5417 GB, free: 2.344 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6507, allocations: 3.578 kB / 0.5417 GB, free: 2.344 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.6507, allocations: 0.625 kB / 0.5417 GB, free: 2.344 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.6507, allocations: 4.875 kB / 0.5417 GB, free: 2.344 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.0008305/0.6515, allocations: 454.5 kB / 0.5421 GB, free: 17.94 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.6516, allocations: 9.531 kB / 0.5421 GB, free: 17.94 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005169/0.6521, allocations: 73.84 kB / 0.5422 GB, free: 17.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.6523, allocations: 193.1 kB / 0.5424 GB, free: 17.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.6523, allocations: 5.562 kB / 0.5424 GB, free: 17.73 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.6523, allocations: 9.25 kB / 0.5424 GB, free: 17.73 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.6525, allocations: 74.92 kB / 0.5424 GB, free: 17.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.6525, allocations: 1.875 kB / 0.5424 GB, free: 17.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.6525, allocations: 3.688 kB / 0.5424 GB, free: 17.68 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.6526, allocations: 2.344 kB / 0.5425 GB, free: 17.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.94e-05/0.6527, allocations: 41.02 kB / 0.5425 GB, free: 17.68 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.6529, allocations: 192 kB / 0.5427 GB, free: 17.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.6532, allocations: 114.9 kB / 0.5428 GB, free: 17.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.6533, allocations: 37.06 kB / 0.5428 GB, free: 17.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000553/0.6539, allocations: 137 kB / 0.5429 GB, free: 17.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.6539, allocations: 33 kB / 0.543 GB, free: 17.29 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.6539, allocations: 5.188 kB / 0.543 GB, free: 17.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004131/0.6543, allocations: 123.6 kB / 0.5431 GB, free: 17.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.6544, allocations: 78.77 kB / 0.5432 GB, free: 17.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.6545, allocations: 142.8 kB / 0.5433 GB, free: 17.06 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.6546, allocations: 26.2 kB / 0.5433 GB, free: 17.03 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.6546, allocations: 89.8 kB / 0.5434 GB, free: 16.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.6546, allocations: 22 kB / 0.5434 GB, free: 16.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.6547, allocations: 24.25 kB / 0.5435 GB, free: 16.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.6548, allocations: 319.5 kB / 0.5438 GB, free: 16.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-05/0.6549, allocations: 27.34 kB / 0.5438 GB, free: 16.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.008e-05/0.655, allocations: 44.05 kB / 0.5438 GB, free: 16.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.6552, allocations: 85.78 kB / 0.5439 GB, free: 16.54 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6552, allocations: 0 / 0.5439 GB, free: 16.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002378/0.6554, allocations: 111.4 kB / 0.544 GB, free: 16.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6554, allocations: 3.344 kB / 0.544 GB, free: 16.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6555, allocations: 4 kB / 0.544 GB, free: 16.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.6555, allocations: 0 / 0.544 GB, free: 16.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/0.6556, allocations: 18.64 kB / 0.5441 GB, free: 16.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.6556, allocations: 3.656 kB / 0.5441 GB, free: 16.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.49e-05/0.6556, allocations: 14.23 kB / 0.5441 GB, free: 16.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.6556, allocations: 3.062 kB / 0.5441 GB, free: 16.5 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.723e-05/0.6557, allocations: 119 kB / 0.5442 GB, free: 16.38 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.6558, allocations: 6.688 kB / 0.5442 GB, free: 16.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.656, allocations: 115.9 kB / 0.5443 GB, free: 16.34 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.656, allocations: 3.109 kB / 0.5443 GB, free: 16.34 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.656, allocations: 0.8438 kB / 0.5443 GB, free: 16.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.656, allocations: 2.953 kB / 0.5443 GB, free: 16.34 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.6562, allocations: 190.3 kB / 0.5445 GB, free: 16.15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6562, allocations: 0 / 0.5445 GB, free: 16.15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.332e-05/0.6563, allocations: 12.52 kB / 0.5445 GB, free: 16.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.6563, allocations: 3.234 kB / 0.5445 GB, free: 16.15 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.6563, allocations: 3.25 kB / 0.5445 GB, free: 16.15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.6563, allocations: 1.531 kB / 0.5445 GB, free: 16.15 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6563, allocations: 0.7188 kB / 0.5445 GB, free: 16.15 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.6567, allocations: 171.5 kB / 0.5447 GB, free: 16.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.6567, allocations: 85.56 kB / 0.5448 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.6568, allocations: 8.047 kB / 0.5448 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.327e-05/0.6568, allocations: 7.125 kB / 0.5448 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.6569, allocations: 5.109 kB / 0.5448 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.6569, allocations: 2.906 kB / 0.5448 GB, free: 15.97 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.76e-05/0.6569, allocations: 119 kB / 0.5449 GB, free: 15.89 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.657, allocations: 0 / 0.5449 GB, free: 15.89 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007913/0.6578, allocations: 162.6 kB / 0.545 GB, free: 15.86 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.001087/0.6588, allocations: 433.4 kB / 0.5455 GB, free: 15.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.6591, allocations: 60.36 kB / 0.5455 GB, free: 15.74 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6591, allocations: 0 / 0.5455 GB, free: 15.74 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.542e-05/0.6592, allocations: 37.73 kB / 0.5456 GB, free: 15.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.6594, allocations: 28.23 kB / 0.5456 GB, free: 15.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.66, allocations: 332 kB / 0.5459 GB, free: 15.53 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.6602, allocations: 0.6919 MB / 0.5466 GB, free: 14.83 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.6603, allocations: 22.44 kB / 0.5466 GB, free: 14.82 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.6603, allocations: 0 / 0.5466 GB, free: 14.82 MB / 478.1 MB Notification: Performance of Templates: time 0.006504/0.6668, allocations: 4.001 MB / 0.5505 GB, free: 14.58 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/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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches