Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001316/0.001316, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001462/0.001462, allocations: 212 kB / 24.47 MB, free: 3.547 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.323/1.323, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.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.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",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.001702/0.001702, allocations: 56.23 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2404, allocations: 49.16 MB / 396.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002328/0.2427, allocations: 1.335 MB / 397.7 MB, free: 8.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007591/0.2503, allocations: 6.522 MB / 404.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.2503, allocations: 0 / 404.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.2504, allocations: 1.828 kB / 404.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.2515, allocations: 297.5 kB / 404.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.2534, allocations: 0.7116 MB / 405.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.2535, allocations: 62.22 kB / 405.3 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.2536, allocations: 4.266 kB / 405.3 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.2537, allocations: 38.61 kB / 405.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008068/0.2545, allocations: 363.6 kB / 405.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.2545, allocations: 5.5 kB / 405.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.2563, allocations: 0.7195 MB / 406.4 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.2563, allocations: 7.5 kB / 406.4 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.2563, allocations: 27.38 kB / 406.4 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.2579, allocations: 0.5281 MB / 406.9 MB, free: 2.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2579, allocations: 0.75 kB / 406.9 MB, free: 2.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2579, allocations: 0 / 406.9 MB, free: 2.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.2579, allocations: 0 / 406.9 MB, free: 2.891 MB / 318.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.0008058/0.2587, allocations: 390 kB / 407.3 MB, free: 2.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.2588, allocations: 22.17 kB / 407.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.699e-05/0.2588, allocations: 40.95 kB / 407.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.2588, allocations: 6.266 kB / 407.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.259, allocations: 134 kB / 407.5 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.259, allocations: 11.06 kB / 407.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.2591, allocations: 5.75 kB / 407.5 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.2592, allocations: 63.61 kB / 407.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2592, allocations: 0 / 407.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.2592, allocations: 1.984 kB / 407.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2592, allocations: 0 / 407.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.979e-05/0.2593, allocations: 27.86 kB / 407.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.2595, allocations: 143.5 kB / 407.8 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.2598, allocations: 80.16 kB / 407.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.178e-05/0.2598, allocations: 19.31 kB / 407.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004072/0.2602, allocations: 126.2 kB / 408 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.2602, allocations: 33.31 kB / 408 MB, free: 1.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2602, allocations: 0 / 408 MB, free: 1.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002827/0.2605, allocations: 89.48 kB / 408.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.2605, allocations: 79.19 kB / 408.2 MB, free: 1.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.563e-05/0.2606, allocations: 112.9 kB / 408.3 MB, free: 1.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.2606, allocations: 25.7 kB / 408.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.941e-05/0.2607, allocations: 83.59 kB / 408.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.2607, allocations: 24.89 kB / 408.4 MB, free: 1.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.2607, allocations: 20.91 kB / 408.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.619e-05/0.2608, allocations: 318 kB / 408.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.672e-05/0.2608, allocations: 11.34 kB / 408.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.141e-05/0.2609, allocations: 42.41 kB / 408.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.261, allocations: 65.78 kB / 408.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.261, allocations: 0 / 408.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001762/0.2612, allocations: 86.95 kB / 409 MB, free: 1.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2612, allocations: 6.016 kB / 409 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2612, allocations: 1.375 kB / 409 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2612, allocations: 1.375 kB / 409 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.778e-05/0.2613, allocations: 19.91 kB / 409 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2613, allocations: 1.375 kB / 409 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.2613, allocations: 3.453 kB / 409 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.2614, allocations: 3.406 kB / 409 MB, free: 1.09 MB / 318.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 5.162e-05/0.2614, allocations: 117.8 kB / 409.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.2614, allocations: 12.02 kB / 409.1 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003727/0.2618, allocations: 116.8 kB / 409.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.2618, allocations: 9.469 kB / 409.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2618, allocations: 1.438 kB / 409.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2618, allocations: 4.594 kB / 409.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.694e-05/0.2619, allocations: 146 kB / 409.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2619, allocations: 5.125 kB / 409.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.8e-05/0.262, allocations: 12.5 kB / 409.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.262, allocations: 1.844 kB / 409.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.262, allocations: 5.891 kB / 409.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.262, allocations: 5.188 kB / 409.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.262, allocations: 0.6562 kB / 409.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.2623, allocations: 138.6 kB / 409.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.2623, allocations: 23.52 kB / 409.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.2623, allocations: 2.328 kB / 409.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.975e-05/0.2624, allocations: 6.281 kB / 409.6 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.2624, allocations: 10.42 kB / 409.6 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.2624, allocations: 1.406 kB / 409.6 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.432e-05/0.2625, allocations: 90.33 kB / 409.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2625, allocations: 1.438 kB / 409.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007034/0.2632, allocations: 173.9 kB / 409.9 MB, free: 480 kB / 318.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.001712/0.2649, allocations: 0.9537 MB / 410.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002534/0.2651, allocations: 48.53 kB / 410.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2651, allocations: 1.281 kB / 410.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.058e-05/0.2652, allocations: 29.12 kB / 410.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.2654, allocations: 13.8 kB / 410.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.2677, allocations: 1.541 MB / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.222e-05/0.2677, allocations: 79.38 kB / 412.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.62e-05/0.2678, allocations: 20.39 kB / 412.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.626e-05/0.2679, allocations: 27.73 kB / 412.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2679, allocations: 4 kB / 412.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03633/0.3042, allocations: 5.74 MB / 418.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.92, allocations: 9.922 kB / 418.3 MB, free: 10.73 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.154980231076479]