Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 119.6 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 215.2 kB / 21.42 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 207.6 MB / 231.8 MB, free: 4.223 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 51.92 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1047, allocations: 49.13 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002621/0.1073, allocations: 1.37 MB / 392.8 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3962/0.5035, allocations: 151.2 MB / 0.5312 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.5036, allocations: 0 / 0.5312 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.509e-05/0.5036, allocations: 10.61 kB / 0.5312 GB, free: 10 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.5049, allocations: 359.9 kB / 0.5316 GB, free: 9.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.5069, allocations: 0.8105 MB / 0.5324 GB, free: 8.977 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.5071, allocations: 79.69 kB / 0.5325 GB, free: 8.898 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.5071, allocations: 0 / 0.5325 GB, free: 8.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.533e-05/0.5072, allocations: 31.86 kB / 0.5325 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.5073, allocations: 35.89 kB / 0.5325 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.5073, allocations: 4 kB / 0.5325 GB, free: 8.828 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002498/0.5098, allocations: 1.457 MB / 0.534 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.5098, allocations: 19.98 kB / 0.534 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.5099, allocations: 31.8 kB / 0.534 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.5113, allocations: 0.8533 MB / 0.5348 GB, free: 6.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5113, allocations: 4 kB / 0.5348 GB, free: 6.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5113, allocations: 2.344 kB / 0.5348 GB, free: 6.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.5113, allocations: 0 / 0.5348 GB, free: 6.457 MB / 414.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.0007288/0.512, allocations: 486 kB / 0.5353 GB, free: 5.934 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.5121, allocations: 16.02 kB / 0.5353 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.5121, allocations: 30.75 kB / 0.5353 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000314/0.5124, allocations: 36.89 kB / 0.5354 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.5126, allocations: 196.2 kB / 0.5356 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.5126, allocations: 4.375 kB / 0.5356 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.5127, allocations: 11.94 kB / 0.5356 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.5129, allocations: 67.39 kB / 0.5357 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.5129, allocations: 0 / 0.5357 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.5129, allocations: 0 / 0.5357 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.5129, allocations: 4 kB / 0.5357 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.513, allocations: 43.91 kB / 0.5357 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.5132, allocations: 210.5 kB / 0.5359 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.5136, allocations: 109.1 kB / 0.536 GB, free: 5.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.941e-05/0.5137, allocations: 45.69 kB / 0.536 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006027/0.5143, allocations: 133 kB / 0.5362 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.5143, allocations: 34.56 kB / 0.5362 GB, free: 4.848 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.5143, allocations: 0 / 0.5362 GB, free: 4.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.000411/0.5147, allocations: 121.6 kB / 0.5363 GB, free: 4.723 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.5148, allocations: 81.09 kB / 0.5364 GB, free: 4.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.515, allocations: 142.4 kB / 0.5365 GB, free: 4.477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.515, allocations: 31.02 kB / 0.5366 GB, free: 4.441 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.515, allocations: 80.14 kB / 0.5366 GB, free: 4.359 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.5151, allocations: 27.75 kB / 0.5367 GB, free: 4.332 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.5151, allocations: 25.7 kB / 0.5367 GB, free: 4.301 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5153, allocations: 318.8 kB / 0.537 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.169e-05/0.5154, allocations: 27.97 kB / 0.537 GB, free: 3.953 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.869e-05/0.5154, allocations: 47.42 kB / 0.5371 GB, free: 3.895 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.5156, allocations: 83.34 kB / 0.5371 GB, free: 3.801 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.5156, allocations: 0 / 0.5371 GB, free: 3.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002715/0.5159, allocations: 113.9 kB / 0.5373 GB, free: 3.684 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.5159, allocations: 11.91 kB / 0.5373 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5159, allocations: 0 / 0.5373 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5159, allocations: 0 / 0.5373 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.049e-05/0.516, allocations: 20.48 kB / 0.5373 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.516, allocations: 3.938 kB / 0.5373 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.339e-05/0.5161, allocations: 12.06 kB / 0.5373 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.5161, allocations: 1.688 kB / 0.5373 GB, free: 3.637 MB / 414.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 9.897e-05/0.5162, allocations: 121.7 kB / 0.5374 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.5162, allocations: 11.94 kB / 0.5374 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.5165, allocations: 109.9 kB / 0.5375 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5165, allocations: 0 / 0.5375 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5165, allocations: 3.938 kB / 0.5375 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5165, allocations: 4 kB / 0.5375 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.5167, allocations: 197.5 kB / 0.5377 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5167, allocations: 3.938 kB / 0.5377 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.466e-05/0.5168, allocations: 12 kB / 0.5377 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5168, allocations: 0 / 0.5377 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.5168, allocations: 7.984 kB / 0.5378 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5168, allocations: 0 / 0.5378 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5168, allocations: 4 kB / 0.5378 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.5172, allocations: 162.8 kB / 0.5379 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.5173, allocations: 93.02 kB / 0.538 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.5173, allocations: 0 / 0.538 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.126e-05/0.5173, allocations: 4 kB / 0.538 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.5174, allocations: 7.984 kB / 0.538 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.5174, allocations: 7.625 kB / 0.538 GB, free: 2.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.903e-05/0.5175, allocations: 111.3 kB / 0.5381 GB, free: 2.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5175, allocations: 0 / 0.5381 GB, free: 2.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006985/0.5182, allocations: 203.3 kB / 0.5383 GB, free: 2.488 MB / 414.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.00187/0.52, allocations: 1.111 MB / 0.5394 GB, free: 1.348 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.5203, allocations: 67.95 kB / 0.5395 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5203, allocations: 0 / 0.5395 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.618e-05/0.5204, allocations: 27.98 kB / 0.5395 GB, free: 1.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.5207, allocations: 24.47 kB / 0.5395 GB, free: 1.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.523, allocations: 1.763 MB / 0.5412 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.5233, allocations: 0.6924 MB / 0.5419 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.262e-05/0.5234, allocations: 12.05 kB / 0.5419 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.5235, allocations: 23.42 kB / 0.542 GB, free: 14.61 MB / 430.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5235, allocations: 8 kB / 0.542 GB, free: 14.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03554/0.559, allocations: 7.774 MB / 0.5495 GB, free: 6.777 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/8.761, allocations: 11.98 kB / 0.5496 GB, free: 6.766 MB / 430.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.40537656500237]