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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 113.4 kB / 17.73 MB, free: 5.359 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.001187/0.001188, allocations: 184.1 kB / 18.66 MB, free: 4.438 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.343/1.343, 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.001129/0.001129, allocations: 55.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08194/0.08307, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002523/0.08565, allocations: 1.357 MB / 376.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1766/0.2623, allocations: 7.143 MB / 383.6 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.2624, allocations: 4 kB / 383.6 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.008e-05/0.2625, allocations: 2 kB / 383.6 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.2636, allocations: 276.7 kB / 383.9 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.2653, allocations: 0.6844 MB / 384.6 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.2654, allocations: 60.08 kB / 384.7 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.2654, allocations: 3.312 kB / 384.7 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.2656, allocations: 46.38 kB / 384.7 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007677/0.2663, allocations: 354.8 kB / 385.1 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.2664, allocations: 2.406 kB / 385.1 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.2678, allocations: 0.8009 MB / 385.9 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.2679, allocations: 11.02 kB / 385.9 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.2679, allocations: 18.31 kB / 385.9 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009722/0.2689, allocations: 0.5556 MB / 386.4 MB, free: 8.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2689, allocations: 0.75 kB / 386.4 MB, free: 8.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.2689, allocations: 0 / 386.4 MB, free: 8.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.2689, allocations: 3.938 kB / 386.4 MB, free: 8.398 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.0005076/0.2694, allocations: 459.5 kB / 386.9 MB, free: 7.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2695, allocations: 13.75 kB / 386.9 MB, free: 7.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.2695, allocations: 8.328 kB / 386.9 MB, free: 7.973 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.2697, allocations: 190.3 kB / 387.1 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.2697, allocations: 2.078 kB / 387.1 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.2697, allocations: 9.609 kB / 387.1 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.2699, allocations: 62.19 kB / 387.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2699, allocations: 1.125 kB / 387.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.2699, allocations: 3.938 kB / 387.2 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2699, allocations: 5.094 kB / 387.2 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.134e-05/0.27, allocations: 24.11 kB / 387.2 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.2702, allocations: 172.4 kB / 387.4 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.2704, allocations: 77.34 kB / 387.5 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.243e-05/0.2705, allocations: 31.75 kB / 387.5 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000627/0.2711, allocations: 1.541 MB / 389 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.2712, allocations: 36.69 kB / 389.1 MB, free: 5.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.2712, allocations: 0 / 389.1 MB, free: 5.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003226/0.2715, allocations: 80.06 kB / 389.1 MB, free: 5.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.2715, allocations: 82.77 kB / 389.2 MB, free: 5.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.409e-05/0.2716, allocations: 112.4 kB / 389.3 MB, free: 5.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.2717, allocations: 27.8 kB / 389.4 MB, free: 5.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.3e-05/0.2717, allocations: 83.5 kB / 389.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.2717, allocations: 23.47 kB / 389.5 MB, free: 5.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.2718, allocations: 21.94 kB / 389.5 MB, free: 5.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.454e-05/0.2718, allocations: 318.2 kB / 389.8 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.76e-05/0.2719, allocations: 10.42 kB / 389.8 MB, free: 4.918 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.384e-05/0.272, allocations: 42.23 kB / 389.8 MB, free: 4.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.2721, allocations: 61 kB / 389.9 MB, free: 4.836 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2721, allocations: 0 / 389.9 MB, free: 4.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001797/0.2723, allocations: 95.06 kB / 390 MB, free: 4.777 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.2723, allocations: 10 kB / 390 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2723, allocations: 1.766 kB / 390 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2723, allocations: 0.9688 kB / 390 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.2724, allocations: 15.8 kB / 390 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.2724, allocations: 1.375 kB / 390 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.2725, allocations: 3.672 kB / 390 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.2725, allocations: 2.938 kB / 390 MB, free: 4.773 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.966e-05/0.2726, allocations: 117.1 kB / 390.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.2726, allocations: 16.39 kB / 390.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.2729, allocations: 115.9 kB / 390.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.273, allocations: 1.734 kB / 390.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.273, allocations: 1.156 kB / 390.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.273, allocations: 1.125 kB / 390.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.564e-05/0.2731, allocations: 172 kB / 390.4 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2731, allocations: 8.969 kB / 390.5 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-05/0.2732, allocations: 19.2 kB / 390.5 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2732, allocations: 5.281 kB / 390.5 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.2732, allocations: 5.547 kB / 390.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2732, allocations: 3.297 kB / 390.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2732, allocations: 1.281 kB / 390.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.2735, allocations: 143 kB / 390.6 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.2735, allocations: 94.64 kB / 390.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.2735, allocations: 2.953 kB / 390.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.007e-05/0.2736, allocations: 2.422 kB / 390.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.2736, allocations: 4.953 kB / 390.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.2737, allocations: 4.047 kB / 390.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.632e-05/0.2737, allocations: 89.16 kB / 390.8 MB, free: 4.074 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2737, allocations: 0 / 390.8 MB, free: 4.074 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006004/0.2743, allocations: 171.8 kB / 391 MB, free: 4.031 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.0008126/0.2751, allocations: 375.6 kB / 391.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.2754, allocations: 45.7 kB / 391.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2754, allocations: 3.938 kB / 391.4 MB, free: 3.855 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.2755, allocations: 30.53 kB / 391.4 MB, free: 3.848 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.2757, allocations: 14.14 kB / 391.4 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.2761, allocations: 292.1 kB / 391.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.2763, allocations: 0.6945 MB / 392.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.741e-05/0.2764, allocations: 28.19 kB / 392.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.2764, allocations: 17.53 kB / 392.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2764, allocations: 4 kB / 392.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of Templates: time 0.009872/0.2863, allocations: 3.738 MB / 396.2 MB, free: 2.324 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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/jenkins/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