Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.001794/0.001794, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 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.002039/0.002039, allocations: 158.4 kB / 24.48 MB, free: 3.465 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.421/1.421, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] 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.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 46.48 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08679/0.08836, allocations: 52.16 MB / 371.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002463/0.09082, allocations: 1.342 MB / 372.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005364/0.09619, allocations: 3.666 MB / 376.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.09621, allocations: 0 / 376.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.527e-05/0.09624, allocations: 7.922 kB / 376.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.09725, allocations: 298.9 kB / 376.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.09835, allocations: 0.5099 MB / 377.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.639e-05/0.09845, allocations: 51.67 kB / 377.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.09849, allocations: 16 kB / 377.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.0986, allocations: 35.84 kB / 377.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007494/0.09935, allocations: 375.2 kB / 377.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.09937, allocations: 0 / 377.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009978/0.1004, allocations: 0.5372 MB / 378.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.1004, allocations: 3.984 kB / 378.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.1004, allocations: 23.92 kB / 378.4 MB, free: 488 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000723/0.1011, allocations: 426.9 kB / 378.8 MB, free: 60 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1011, allocations: 0 / 378.8 MB, free: 60 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1011, allocations: 0 / 378.8 MB, free: 60 kB / 334.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1011, allocations: 0 / 378.8 MB, free: 60 kB / 334.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.0005793/0.1017, allocations: 373.3 kB / 379.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1018, allocations: 8.031 kB / 379.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.1018, allocations: 16.83 kB / 379.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.102, allocations: 126.5 kB / 379.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.102, allocations: 384 / 379.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.1021, allocations: 11.89 kB / 379.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1022, allocations: 67.38 kB / 379.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1022, allocations: 0 / 379.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1022, allocations: 0 / 379.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1022, allocations: 0 / 379.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.563e-05/0.1023, allocations: 19.92 kB / 379.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.1025, allocations: 118.3 kB / 379.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.1028, allocations: 85.19 kB / 379.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.059e-05/0.1029, allocations: 25.7 kB / 379.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003682/0.1033, allocations: 123.8 kB / 379.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1033, allocations: 34.56 kB / 379.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1033, allocations: 0 / 379.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003029/0.1036, allocations: 81.59 kB / 379.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1036, allocations: 77.11 kB / 380 MB, free: 14.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.1037, allocations: 121.8 kB / 380.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1038, allocations: 25.7 kB / 380.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.1038, allocations: 96.06 kB / 380.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.1039, allocations: 23.75 kB / 380.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.1039, allocations: 21.72 kB / 380.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1041, allocations: 318.8 kB / 380.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.241e-05/0.1041, allocations: 19.92 kB / 380.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.819e-05/0.1042, allocations: 39.36 kB / 380.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1043, allocations: 59.42 kB / 380.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1043, allocations: 0 / 380.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002078/0.1045, allocations: 85.91 kB / 380.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1046, allocations: 4 kB / 380.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1046, allocations: 0 / 380.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1046, allocations: 4 kB / 380.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-05/0.1047, allocations: 15.98 kB / 380.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1047, allocations: 0 / 380.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.1047, allocations: 12 kB / 380.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.1047, allocations: 16.03 kB / 380.8 MB, free: 13.85 MB / 350.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.33e-05/0.1048, allocations: 113.7 kB / 380.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.1048, allocations: 7.938 kB / 380.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.1052, allocations: 121.4 kB / 381.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1052, allocations: 0 / 381.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1052, allocations: 0 / 381.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1052, allocations: 4 kB / 381.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.1053, allocations: 125.2 kB / 381.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1053, allocations: 4 kB / 381.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.05e-05/0.1054, allocations: 11.98 kB / 381.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1054, allocations: 3.938 kB / 381.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1054, allocations: 4 kB / 381.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1054, allocations: 0 / 381.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1054, allocations: 3.938 kB / 381.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.1058, allocations: 141.9 kB / 381.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.1058, allocations: 15.95 kB / 381.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.1058, allocations: 4.062 kB / 381.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.04e-05/0.1058, allocations: 0 / 381.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.1059, allocations: 15.98 kB / 381.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.1059, allocations: 4 kB / 381.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.32e-05/0.106, allocations: 91.27 kB / 381.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.106, allocations: 3.938 kB / 381.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000429/0.1064, allocations: 127.5 kB / 381.6 MB, free: 13 MB / 350.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 (7): * Single equations (assignments): 6 * 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.0006537/0.107, allocations: 293.6 kB / 381.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1072, allocations: 55.89 kB / 381.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1072, allocations: 4 kB / 381.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.64e-05/0.1073, allocations: 23.98 kB / 382 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.1075, allocations: 15.92 kB / 382 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.108, allocations: 291.9 kB / 382.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.03e-05/0.1081, allocations: 67.34 kB / 382.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.309e-05/0.1082, allocations: 31.03 kB / 382.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.1082, allocations: 20.48 kB / 382.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1082, allocations: 0 / 382.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of Templates: time 0.00723/0.1155, allocations: 3.045 MB / 385.4 MB, free: 9.148 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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: 4.217053834930994]