Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.00124/0.00124, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001395/0.001395, allocations: 209 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 51.92 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2505, allocations: 53.36 MB / 431.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00251/0.253, allocations: 1.389 MB / 432.5 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005347/0.2583, allocations: 4.095 MB / 436.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.2584, allocations: 0 / 436.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.2584, allocations: 3.938 kB / 436.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009991/0.2594, allocations: 302.9 kB / 436.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.2605, allocations: 0.5088 MB / 437.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.2606, allocations: 63.66 kB / 437.5 MB, free: 468 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.2606, allocations: 7.984 kB / 437.5 MB, free: 460 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.2607, allocations: 35.84 kB / 437.5 MB, free: 424 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007425/0.2615, allocations: 371.2 kB / 437.9 MB, free: 52 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.2615, allocations: 8 kB / 437.9 MB, free: 44 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.2626, allocations: 0.6489 MB / 438.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.2626, allocations: 4 kB / 438.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.2626, allocations: 23.86 kB / 438.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000707/0.2633, allocations: 456.7 kB / 439 MB, free: 14.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2634, allocations: 0 / 439 MB, free: 14.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2634, allocations: 0 / 439 MB, free: 14.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.2634, allocations: 0 / 439 MB, free: 14.92 MB / 350.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.2639, allocations: 381.2 kB / 439.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.264, allocations: 11.97 kB / 439.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.307e-05/0.264, allocations: 34.75 kB / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.2641, allocations: 8.891 kB / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.2643, allocations: 126.5 kB / 439.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.2643, allocations: 4.125 kB / 439.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.2643, allocations: 4 kB / 439.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.2645, allocations: 63.39 kB / 439.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2645, allocations: 4 kB / 439.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.2645, allocations: 0 / 439.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2645, allocations: 0 / 439.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.002e-05/0.2646, allocations: 23.92 kB / 439.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.2647, allocations: 145.7 kB / 439.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.265, allocations: 81.06 kB / 439.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.428e-05/0.2651, allocations: 25.77 kB / 439.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003388/0.2654, allocations: 123.9 kB / 440 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.2655, allocations: 30.56 kB / 440.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2655, allocations: 0 / 440.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002856/0.2657, allocations: 89.55 kB / 440.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2658, allocations: 77.11 kB / 440.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.704e-05/0.2659, allocations: 109.8 kB / 440.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.2659, allocations: 29.7 kB / 440.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.266, allocations: 84.12 kB / 440.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.266, allocations: 23.8 kB / 440.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.266, allocations: 25.7 kB / 440.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2662, allocations: 318.8 kB / 440.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.763e-05/0.2662, allocations: 15.92 kB / 440.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/0.2663, allocations: 39.42 kB / 440.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.2664, allocations: 55.73 kB / 440.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.2664, allocations: 7.938 kB / 440.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001956/0.2666, allocations: 93.48 kB / 441 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2666, allocations: 4 kB / 441 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2666, allocations: 3.984 kB / 441 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.2667, allocations: 4 kB / 441 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.654e-05/0.2667, allocations: 12 kB / 441 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2667, allocations: 0 / 441 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.2668, allocations: 7.984 kB / 441 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.2668, allocations: 12 kB / 441.1 MB, free: 12.64 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.462e-05/0.2669, allocations: 113.8 kB / 441.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.2669, allocations: 7.953 kB / 441.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.2673, allocations: 121 kB / 441.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.2673, allocations: 0 / 441.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2673, allocations: 7.938 kB / 441.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.2673, allocations: 4 kB / 441.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.2674, allocations: 152.7 kB / 441.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2674, allocations: 0 / 441.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.716e-05/0.2675, allocations: 11.98 kB / 441.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2675, allocations: 7.938 kB / 441.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.2675, allocations: 0 / 441.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2675, allocations: 0 / 441.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2675, allocations: 0 / 441.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.2678, allocations: 149.8 kB / 441.6 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.2678, allocations: 15.97 kB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.2679, allocations: 4 kB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.802e-05/0.2679, allocations: 0 / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.2679, allocations: 11.98 kB / 441.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.2679, allocations: 4 kB / 441.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.725e-05/0.268, allocations: 91.81 kB / 441.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.268, allocations: 8 kB / 441.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004059/0.2684, allocations: 131.5 kB / 441.9 MB, free: 11.74 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.0009727/0.2694, allocations: 0.8553 MB / 442.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.2696, allocations: 51.97 kB / 442.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2696, allocations: 0 / 442.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.613e-05/0.2696, allocations: 27.92 kB / 442.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.2698, allocations: 8 kB / 442.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.2715, allocations: 1.53 MB / 444.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.2718, allocations: 0.6885 MB / 445 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.596e-05/0.2719, allocations: 29.41 kB / 445.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.2719, allocations: 27.52 kB / 445.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2719, allocations: 7.938 kB / 445.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.3057, allocations: 4.51 MB / 449.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.05, allocations: 0 / 449.6 MB, free: 3.996 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.440026350086555]