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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 106.6 kB / 17.73 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 187.1 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 51.92 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07766/0.07892, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00235/0.08131, allocations: 1.353 MB / 376 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1687/0.2501, allocations: 7.143 MB / 383.1 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.577e-05/0.2502, allocations: 4.562 kB / 383.1 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.2502, allocations: 2.156 kB / 383.1 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.2513, allocations: 274.8 kB / 383.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.2532, allocations: 0.7023 MB / 384.1 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.2534, allocations: 52.58 kB / 384.2 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.2534, allocations: 3.109 kB / 384.2 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.2535, allocations: 45.91 kB / 384.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006975/0.2542, allocations: 354.8 kB / 384.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.2542, allocations: 1.406 kB / 384.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.2556, allocations: 0.7966 MB / 385.4 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.2556, allocations: 12.86 kB / 385.4 MB, free: 8.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.2556, allocations: 22.78 kB / 385.4 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.2567, allocations: 0.5517 MB / 385.9 MB, free: 8.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.681e-05/0.2567, allocations: 1.75 kB / 385.9 MB, free: 8.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2567, allocations: 0 / 385.9 MB, free: 8.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2567, allocations: 0 / 385.9 MB, free: 8.254 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.0005469/0.2573, allocations: 463.6 kB / 386.4 MB, free: 7.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.2573, allocations: 9.062 kB / 386.4 MB, free: 7.832 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.2574, allocations: 40.12 kB / 386.4 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.2574, allocations: 7.438 kB / 386.4 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.2576, allocations: 190.5 kB / 386.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.2576, allocations: 2.75 kB / 386.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.2576, allocations: 5.656 kB / 386.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.2578, allocations: 62.84 kB / 386.7 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2578, allocations: 0 / 386.7 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.2578, allocations: 1.031 kB / 386.7 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2578, allocations: 6.234 kB / 386.7 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.546e-05/0.2579, allocations: 22.56 kB / 386.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.2581, allocations: 174.2 kB / 386.9 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.2584, allocations: 81.72 kB / 387 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.911e-05/0.2584, allocations: 32.64 kB / 387 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006971/0.2591, allocations: 1.537 MB / 388.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.2592, allocations: 36.55 kB / 388.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.2592, allocations: 0 / 388.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003049/0.2595, allocations: 90.23 kB / 388.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.2595, allocations: 82.23 kB / 388.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.168e-05/0.2596, allocations: 108.9 kB / 388.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.2596, allocations: 30.42 kB / 388.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.119e-05/0.2597, allocations: 82.28 kB / 389 MB, free: 5.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.2597, allocations: 22.88 kB / 389 MB, free: 5.055 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.2597, allocations: 23.02 kB / 389 MB, free: 5.039 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.2598, allocations: 315.1 kB / 389.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.748e-05/0.2599, allocations: 18.36 kB / 389.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.345e-05/0.2599, allocations: 41.78 kB / 389.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.2601, allocations: 60.06 kB / 389.4 MB, free: 4.652 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2601, allocations: 1.188 kB / 389.4 MB, free: 4.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001774/0.2602, allocations: 94.92 kB / 389.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2603, allocations: 5.625 kB / 389.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2603, allocations: 1.25 kB / 389.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2603, allocations: 1.094 kB / 389.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.778e-05/0.2604, allocations: 15.59 kB / 389.6 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2604, allocations: 2.922 kB / 389.6 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.2604, allocations: 2.406 kB / 389.6 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2604, allocations: 4.297 kB / 389.6 MB, free: 4.602 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 4.672e-05/0.2605, allocations: 116.7 kB / 389.7 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.2605, allocations: 11.84 kB / 389.7 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.2609, allocations: 122.9 kB / 389.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.2609, allocations: 1.594 kB / 389.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2609, allocations: 1.5 kB / 389.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2609, allocations: 0.5156 kB / 389.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.395e-05/0.261, allocations: 172.1 kB / 390 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.261, allocations: 1.438 kB / 390 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.672e-05/0.2611, allocations: 17.2 kB / 390 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2611, allocations: 0 / 390 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.2612, allocations: 2.062 kB / 390 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2612, allocations: 1.5 kB / 390 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2612, allocations: 1.469 kB / 390 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.2614, allocations: 145.1 kB / 390.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.2615, allocations: 96.56 kB / 390.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.2615, allocations: 5.062 kB / 390.3 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.037e-05/0.2615, allocations: 10.98 kB / 390.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.2616, allocations: 5.734 kB / 390.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.2616, allocations: 2.891 kB / 390.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.457e-05/0.2616, allocations: 94.94 kB / 390.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2616, allocations: 1.156 kB / 390.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005305/0.2622, allocations: 170.3 kB / 390.5 MB, free: 3.93 MB / 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.001138/0.2633, allocations: 0.942 MB / 391.5 MB, free: 3.258 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.2635, allocations: 48.39 kB / 391.5 MB, free: 3.254 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2636, allocations: 1.188 kB / 391.5 MB, free: 3.254 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.2636, allocations: 28.31 kB / 391.5 MB, free: 3.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.2638, allocations: 11.5 kB / 391.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.2652, allocations: 1.528 MB / 393.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.751e-05/0.2653, allocations: 0.6904 MB / 393.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.477e-05/0.2654, allocations: 31.91 kB / 393.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.2654, allocations: 23.77 kB / 393.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2654, allocations: 0 / 393.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.2911, allocations: 5.192 MB / 399 MB, free: 108 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.358, allocations: 8.984 kB / 399 MB, free: 100 kB / 318.1 MB (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 --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) 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) Reference file matches