Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 109 kB / 17.15 MB, free: 6.328 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.001545/0.001545, allocations: 198 kB / 18.07 MB, free: 5.434 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.378/1.378, allocations: 205.1 MB / 223.9 MB, free: 12.39 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.001211/0.001212, allocations: 51.94 kB / 280 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07849/0.07971, allocations: 46.63 MB / 326.6 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002145/0.08189, allocations: 1.416 MB / 328 MB, free: 3.461 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.2851/0.367, allocations: 148.1 MB / 476.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.324e-05/0.3671, allocations: 0 / 476.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.423e-05/0.3672, allocations: 15.92 kB / 476.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009989/0.3682, allocations: 195.1 kB / 476.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.3701, allocations: 0.5204 MB / 476.8 MB, free: 1.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.809e-05/0.3702, allocations: 51.73 kB / 476.9 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.3703, allocations: 11.98 kB / 476.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.323e-05/0.3703, allocations: 27.86 kB / 476.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.006e-05/0.3704, allocations: 27.86 kB / 477 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3705, allocations: 0 / 477 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.3723, allocations: 0.7875 MB / 477.8 MB, free: 372 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.3724, allocations: 19.97 kB / 477.8 MB, free: 352 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.222e-05/0.3725, allocations: 19.88 kB / 477.8 MB, free: 332 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.3738, allocations: 0.616 MB / 478.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3738, allocations: 0 / 478.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3738, allocations: 0 / 478.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.3738, allocations: 0 / 478.4 MB, free: 15.7 MB / 382.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.0007903/0.3746, allocations: 451.8 kB / 478.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.3747, allocations: 8.031 kB / 478.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.3763, allocations: 96.7 kB / 478.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.3766, allocations: 228.2 kB / 479.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.3767, allocations: 7.875 kB / 479.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.3767, allocations: 7.984 kB / 479.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.377, allocations: 87.33 kB / 479.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.377, allocations: 0 / 479.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.3771, allocations: 4 kB / 479.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3771, allocations: 0 / 479.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.3773, allocations: 51.89 kB / 479.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.3776, allocations: 210.7 kB / 479.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/0.3784, allocations: 121.1 kB / 479.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.3785, allocations: 37.69 kB / 479.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008215/0.3794, allocations: 0.9939 MB / 480.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.3794, allocations: 34.56 kB / 480.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.3794, allocations: 0 / 480.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007421/0.3802, allocations: 133.5 kB / 480.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.3802, allocations: 85.05 kB / 480.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.3806, allocations: 160 kB / 481.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.3806, allocations: 33.7 kB / 481.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.3807, allocations: 80.14 kB / 481.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.3808, allocations: 19.75 kB / 481.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3809, allocations: 37.59 kB / 481.3 MB, free: 12.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.381, allocations: 310.8 kB / 481.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.3812, allocations: 31.97 kB / 481.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.3814, allocations: 51.41 kB / 481.6 MB, free: 12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.3817, allocations: 83.33 kB / 481.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3818, allocations: 3.938 kB / 481.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005449/0.3823, allocations: 126.4 kB / 481.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3824, allocations: 4 kB / 481.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3824, allocations: 0 / 481.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3824, allocations: 4 kB / 481.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.3826, allocations: 23.97 kB / 481.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.3827, allocations: 4 kB / 481.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.383, allocations: 7.984 kB / 481.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.383, allocations: 8.047 kB / 481.9 MB, free: 11.72 MB / 382.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 0.0001174/0.3831, allocations: 117.8 kB / 482 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.469e-05/0.3832, allocations: 7.906 kB / 482 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000639/0.3839, allocations: 241.2 kB / 482.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.3839, allocations: 4 kB / 482.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3839, allocations: 0 / 482.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3839, allocations: 3.984 kB / 482.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.3841, allocations: 223.5 kB / 482.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3841, allocations: 0 / 482.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.3843, allocations: 19.97 kB / 482.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3844, allocations: 3.938 kB / 482.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.3844, allocations: 7.984 kB / 482.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3844, allocations: 0 / 482.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3844, allocations: 7.938 kB / 482.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.3848, allocations: 182.3 kB / 482.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.526e-05/0.3849, allocations: 93.03 kB / 482.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.385, allocations: 3.938 kB / 482.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.3851, allocations: 4 kB / 482.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.3852, allocations: 16.03 kB / 482.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3852, allocations: 7.984 kB / 482.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.3854, allocations: 131.2 kB / 482.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.3854, allocations: 0 / 482.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005647/0.386, allocations: 163.9 kB / 483.1 MB, free: 10.41 MB / 382.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 (8): * Single equations (assignments): 7 * 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.0008293/0.3868, allocations: 381 kB / 483.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.3871, allocations: 79.95 kB / 483.6 MB, free: 9.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3871, allocations: 0 / 483.6 MB, free: 9.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.3873, allocations: 39.91 kB / 483.6 MB, free: 9.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.3875, allocations: 20.06 kB / 483.6 MB, free: 9.898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.3881, allocations: 316.3 kB / 483.9 MB, free: 9.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.3883, allocations: 0.7004 MB / 484.6 MB, free: 8.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005679/0.3889, allocations: 423 kB / 485 MB, free: 8.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.389, allocations: 51.33 kB / 485.1 MB, free: 8.375 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.389, allocations: 0 / 485.1 MB, free: 8.375 MB / 382.1 MB Notification: Performance of Templates: time 0.009618/0.3986, allocations: 5.971 MB / 491.1 MB, free: 2.395 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches