Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.005614/0.005614, allocations: 112 kB / 21.97 MB, free: 5.25 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.001596/0.001596, allocations: 202.5 kB / 25.27 MB, free: 3.238 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.283/1.283, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] 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_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="cs",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.00161/0.00161, allocations: 51.92 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2125, allocations: 49.16 MB / 397.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001973/0.2145, allocations: 1.358 MB / 398.5 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1648/0.3793, allocations: 150.9 MB / 0.5365 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.3794, allocations: 0 / 0.5365 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.3794, allocations: 3.984 kB / 0.5365 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008855/0.3803, allocations: 246.7 kB / 0.5367 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.3819, allocations: 0.6465 MB / 0.5373 GB, free: 9.652 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.796e-05/0.382, allocations: 55.73 kB / 0.5374 GB, free: 9.598 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.217e-05/0.382, allocations: 3.984 kB / 0.5374 GB, free: 9.594 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.382, allocations: 23.92 kB / 0.5374 GB, free: 9.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.59e-05/0.3821, allocations: 35.84 kB / 0.5375 GB, free: 9.535 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.3821, allocations: 0 / 0.5375 GB, free: 9.535 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.3837, allocations: 0.9124 MB / 0.5383 GB, free: 8.621 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.3838, allocations: 15.92 kB / 0.5384 GB, free: 8.605 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.3838, allocations: 15.94 kB / 0.5384 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009362/0.3847, allocations: 0.6117 MB / 0.539 GB, free: 7.977 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3847, allocations: 0 / 0.539 GB, free: 7.977 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3847, allocations: 0 / 0.539 GB, free: 7.977 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3847, allocations: 0 / 0.539 GB, free: 7.977 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.0005539/0.3853, allocations: 393.1 kB / 0.5393 GB, free: 7.562 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3853, allocations: 11.98 kB / 0.5394 GB, free: 7.551 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.304e-05/0.3854, allocations: 4.188 kB / 0.5394 GB, free: 7.547 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.3854, allocations: 30.75 kB / 0.5394 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.3864, allocations: 100.8 kB / 0.5395 GB, free: 7.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.3867, allocations: 158.1 kB / 0.5396 GB, free: 7.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.3867, allocations: 4 kB / 0.5396 GB, free: 7.227 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.3867, allocations: 0 / 0.5396 GB, free: 7.227 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.387, allocations: 95.27 kB / 0.5397 GB, free: 7.121 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.387, allocations: 4 kB / 0.5397 GB, free: 7.117 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.387, allocations: 0 / 0.5397 GB, free: 7.117 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.387, allocations: 0 / 0.5397 GB, free: 7.117 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.3872, allocations: 47.95 kB / 0.5398 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/0.3874, allocations: 181.9 kB / 0.54 GB, free: 6.848 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.3879, allocations: 129.1 kB / 0.5401 GB, free: 6.703 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.388, allocations: 33.77 kB / 0.5401 GB, free: 6.664 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/0.3883, allocations: 96.55 kB / 0.5402 GB, free: 6.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3883, allocations: 34.5 kB / 0.5402 GB, free: 6.527 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3883, allocations: 7.938 kB / 0.5402 GB, free: 6.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004926/0.3888, allocations: 133.5 kB / 0.5404 GB, free: 6.383 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.3888, allocations: 77.11 kB / 0.5404 GB, free: 6.289 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.3891, allocations: 149.8 kB / 0.5406 GB, free: 6.133 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.3891, allocations: 25.7 kB / 0.5406 GB, free: 6.102 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.3891, allocations: 88.14 kB / 0.5407 GB, free: 6.012 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.3892, allocations: 31.72 kB / 0.5407 GB, free: 5.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.3892, allocations: 29.69 kB / 0.5408 GB, free: 5.945 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3894, allocations: 326.8 kB / 0.5411 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.3895, allocations: 23.97 kB / 0.5411 GB, free: 5.594 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.3896, allocations: 51.41 kB / 0.5411 GB, free: 5.531 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.3898, allocations: 87.34 kB / 0.5412 GB, free: 5.434 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3898, allocations: 0 / 0.5412 GB, free: 5.434 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003724/0.3902, allocations: 125.5 kB / 0.5413 GB, free: 5.305 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3902, allocations: 4 kB / 0.5413 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3902, allocations: 0 / 0.5413 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3902, allocations: 4 kB / 0.5413 GB, free: 5.297 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.3904, allocations: 23.91 kB / 0.5414 GB, free: 5.273 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3904, allocations: 8.062 kB / 0.5414 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.3906, allocations: 15.94 kB / 0.5414 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.3906, allocations: 4 kB / 0.5414 GB, free: 5.246 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 9.517e-05/0.3907, allocations: 113.8 kB / 0.5415 GB, free: 5.125 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/0.3907, allocations: 7.984 kB / 0.5415 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006021/0.3913, allocations: 257.2 kB / 0.5418 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.3913, allocations: 4 kB / 0.5418 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3913, allocations: 0 / 0.5418 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3914, allocations: 0.5781 kB / 0.5418 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.3916, allocations: 198 kB / 0.542 GB, free: 4.617 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3916, allocations: 0 / 0.542 GB, free: 4.617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.3917, allocations: 23.97 kB / 0.542 GB, free: 4.594 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3917, allocations: 0 / 0.542 GB, free: 4.594 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.3918, allocations: 8 kB / 0.542 GB, free: 4.586 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3918, allocations: 0 / 0.542 GB, free: 4.586 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3918, allocations: 480 / 0.542 GB, free: 4.586 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.3922, allocations: 185.7 kB / 0.5422 GB, free: 4.383 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.3923, allocations: 16 kB / 0.5422 GB, free: 4.367 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.3923, allocations: 4 kB / 0.5422 GB, free: 4.363 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.3925, allocations: 8 kB / 0.5422 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.3925, allocations: 7.984 kB / 0.5422 GB, free: 4.348 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.3925, allocations: 4 kB / 0.5422 GB, free: 4.344 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001819/0.3927, allocations: 143.3 kB / 0.5423 GB, free: 4.203 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3927, allocations: 0 / 0.5423 GB, free: 4.203 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005209/0.3932, allocations: 167.5 kB / 0.5425 GB, free: 4.039 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001438/0.3947, allocations: 1.003 MB / 0.5435 GB, free: 3.004 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003009/0.395, allocations: 75.88 kB / 0.5435 GB, free: 2.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.395, allocations: 0 / 0.5435 GB, free: 2.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.3951, allocations: 31.98 kB / 0.5436 GB, free: 2.898 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.3953, allocations: 15.92 kB / 0.5436 GB, free: 2.883 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.398, allocations: 1.82 MB / 0.5454 GB, free: 0.957 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.3983, allocations: 0.6885 MB / 0.546 GB, free: 248 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005829/0.3989, allocations: 435.2 kB / 0.5465 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.399, allocations: 51.25 kB / 0.5465 GB, free: 15.77 MB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.399, allocations: 0 / 0.5465 GB, free: 15.77 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.4314, allocations: 7.808 MB / 0.5541 GB, free: 7.906 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.81, allocations: 16.64 kB / 0.5541 GB, free: 7.891 MB / 478.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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: 13.21783520502504]