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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 120.8 kB / 17.74 MB, free: 5.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 186.9 kB / 20.67 MB, free: 2.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 246.4 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 51.92 kB / 357.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1167, allocations: 49.44 MB / 406.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.003464/0.1202, allocations: 1.37 MB / 408.3 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.395/0.5152, allocations: 149.1 MB / 0.5443 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.669e-05/0.5153, allocations: 0 / 0.5443 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.351e-05/0.5154, allocations: 3.984 kB / 0.5443 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.5167, allocations: 381 kB / 0.5446 GB, free: 3.941 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.518, allocations: 0.4977 MB / 0.5451 GB, free: 3.445 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.5182, allocations: 79.62 kB / 0.5452 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.5182, allocations: 4 kB / 0.5452 GB, free: 3.363 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.172e-05/0.5183, allocations: 31.86 kB / 0.5452 GB, free: 3.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.5184, allocations: 35.89 kB / 0.5453 GB, free: 3.297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.5184, allocations: 4.75 kB / 0.5453 GB, free: 3.293 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.5205, allocations: 1.077 MB / 0.5463 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.398e-05/0.5206, allocations: 19.86 kB / 0.5464 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.5206, allocations: 23.86 kB / 0.5464 GB, free: 2.172 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.5218, allocations: 0.6897 MB / 0.547 GB, free: 1.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5218, allocations: 0 / 0.547 GB, free: 1.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5218, allocations: 4 kB / 0.5471 GB, free: 1.477 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.5219, allocations: 0 / 0.5471 GB, free: 1.477 MB / 446.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.0006946/0.5226, allocations: 471.2 kB / 0.5475 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.5226, allocations: 12.03 kB / 0.5475 GB, free: 0.957 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.5227, allocations: 34.73 kB / 0.5475 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004527/0.5231, allocations: 68.8 kB / 0.5476 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.5233, allocations: 196.3 kB / 0.5478 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.5234, allocations: 3.938 kB / 0.5478 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.5234, allocations: 7.938 kB / 0.5478 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.5236, allocations: 79.38 kB / 0.5479 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.5236, allocations: 0 / 0.5479 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.5236, allocations: 0 / 0.5479 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.5236, allocations: 4 kB / 0.5479 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.5237, allocations: 37.19 kB / 0.5479 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.524, allocations: 198.5 kB / 0.5481 GB, free: 236 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.5243, allocations: 117.2 kB / 0.5482 GB, free: 100 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.918e-05/0.5244, allocations: 37.77 kB / 0.5483 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005466/0.525, allocations: 137 kB / 0.5484 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.5251, allocations: 38.5 kB / 0.5484 GB, free: 15.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.5251, allocations: 0 / 0.5484 GB, free: 15.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003763/0.5254, allocations: 121.5 kB / 0.5485 GB, free: 15.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.5255, allocations: 81.05 kB / 0.5486 GB, free: 15.63 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.5257, allocations: 141.8 kB / 0.5488 GB, free: 15.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.5257, allocations: 29.7 kB / 0.5488 GB, free: 15.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.5258, allocations: 86.77 kB / 0.5489 GB, free: 15.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.5258, allocations: 23.78 kB / 0.5489 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.5258, allocations: 21.72 kB / 0.5489 GB, free: 15.31 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.526, allocations: 318.8 kB / 0.5492 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.5261, allocations: 27.98 kB / 0.5492 GB, free: 14.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.773e-05/0.5262, allocations: 51.42 kB / 0.5493 GB, free: 14.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.5263, allocations: 83.66 kB / 0.5494 GB, free: 14.81 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5264, allocations: 0 / 0.5494 GB, free: 14.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002558/0.5266, allocations: 113.6 kB / 0.5495 GB, free: 14.69 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5266, allocations: 7.984 kB / 0.5495 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.5267, allocations: 0 / 0.5495 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.5267, allocations: 7.938 kB / 0.5495 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.975e-05/0.5268, allocations: 12 kB / 0.5495 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.5268, allocations: 0 / 0.5495 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.5268, allocations: 7.984 kB / 0.5495 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.5268, allocations: 8 kB / 0.5495 GB, free: 14.65 MB / 462.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 8.297e-05/0.5269, allocations: 113.8 kB / 0.5496 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.527, allocations: 11.98 kB / 0.5496 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.5273, allocations: 107.8 kB / 0.5497 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.5273, allocations: 4 kB / 0.5497 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5273, allocations: 0 / 0.5497 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5273, allocations: 3.984 kB / 0.5498 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.5275, allocations: 182.2 kB / 0.5499 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5275, allocations: 0 / 0.5499 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.612e-05/0.5276, allocations: 19.92 kB / 0.5499 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.5276, allocations: 0 / 0.5499 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.5276, allocations: 5.625 kB / 0.55 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5276, allocations: 4 kB / 0.55 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5276, allocations: 3.938 kB / 0.55 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.528, allocations: 161.8 kB / 0.5501 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.5281, allocations: 101 kB / 0.5502 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.5281, allocations: 4 kB / 0.5502 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.001e-05/0.5282, allocations: 4.062 kB / 0.5502 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.5282, allocations: 7.984 kB / 0.5502 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.5282, allocations: 0 / 0.5502 GB, free: 13.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.44e-05/0.5283, allocations: 120.4 kB / 0.5503 GB, free: 13.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5283, allocations: 0 / 0.5503 GB, free: 13.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005296/0.5289, allocations: 163.5 kB / 0.5505 GB, free: 13.55 MB / 462.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.001613/0.5305, allocations: 1.019 MB / 0.5515 GB, free: 12.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.5307, allocations: 63.91 kB / 0.5516 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.5307, allocations: 4 kB / 0.5516 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.782e-05/0.5308, allocations: 32.03 kB / 0.5516 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.5311, allocations: 28.09 kB / 0.5516 GB, free: 12.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.5332, allocations: 1.732 MB / 0.5533 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.5336, allocations: 0.6924 MB / 0.554 GB, free: 9.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.06e-05/0.5336, allocations: 20.53 kB / 0.554 GB, free: 9.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.5337, allocations: 27.42 kB / 0.554 GB, free: 9.793 MB / 462.1 MB Notification: Performance of SimCode: time 3.888e-06/0.5337, allocations: 0 / 0.554 GB, free: 9.793 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0317/0.5654, allocations: 6.291 MB / 0.5602 GB, free: 3.641 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.229/8.794, allocations: 7.609 kB / 0.5602 GB, free: 3.637 MB / 462.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.188262316863984]