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.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.001733/0.001733, allocations: 87.38 kB / 21.44 MB, free: 276 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.001876/0.001876, allocations: 163.4 kB / 24.71 MB, free: 3.527 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.404/1.404, allocations: 158.6 MB / 186.5 MB, free: 6.383 MB / 174.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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.156e-05, allocations: 2.281 kB / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002337/0.002359, allocations: 1.326 MB / 300.3 MB, free: 7.387 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.3145/0.3169, allocations: 129.2 MB / 429.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.3169, allocations: 0 / 429.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.3169, allocations: 3.984 kB / 429.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009316/0.3179, allocations: 247.5 kB / 429.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.3194, allocations: 0.6389 MB / 430.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.817e-05/0.3195, allocations: 55.67 kB / 430.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.3196, allocations: 0 / 430.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.66e-05/0.3196, allocations: 35.89 kB / 430.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.075e-05/0.3197, allocations: 27.97 kB / 430.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.3197, allocations: 0 / 430.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.321, allocations: 0.7699 MB / 431.3 MB, free: 9.391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.3211, allocations: 15.91 kB / 431.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.3211, allocations: 16 kB / 431.3 MB, free: 9.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.3221, allocations: 0.6702 MB / 432 MB, free: 8.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3221, allocations: 0 / 432 MB, free: 8.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3221, allocations: 0 / 432 MB, free: 8.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.3221, allocations: 0 / 432 MB, free: 8.688 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.0006019/0.3227, allocations: 390.4 kB / 432.3 MB, free: 8.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3228, allocations: 15.97 kB / 432.3 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.3239, allocations: 104.8 kB / 432.5 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.3241, allocations: 153.7 kB / 432.6 MB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.3242, allocations: 8.375 kB / 432.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.3242, allocations: 0.5625 kB / 432.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.3244, allocations: 99.2 kB / 432.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3244, allocations: 0 / 432.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.3245, allocations: 0 / 432.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3245, allocations: 4 kB / 432.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.3246, allocations: 43.95 kB / 432.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002443/0.3249, allocations: 150.4 kB / 432.9 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.3254, allocations: 125.1 kB / 433 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.3256, allocations: 41.75 kB / 433.1 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002584/0.3258, allocations: 96.58 kB / 433.2 MB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.3258, allocations: 30.56 kB / 433.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3258, allocations: 3.938 kB / 433.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005495/0.3264, allocations: 142.1 kB / 433.3 MB, free: 7.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.3264, allocations: 81.05 kB / 433.4 MB, free: 7.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.3267, allocations: 154.4 kB / 433.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.3267, allocations: 25.7 kB / 433.6 MB, free: 6.883 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.3268, allocations: 88.14 kB / 433.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.3268, allocations: 23.78 kB / 433.7 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.3269, allocations: 25.7 kB / 433.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.327, allocations: 326.8 kB / 434 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.3271, allocations: 24.67 kB / 434.1 MB, free: 6.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3273, allocations: 55.41 kB / 434.1 MB, free: 6.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.3275, allocations: 87.33 kB / 434.2 MB, free: 6.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.3275, allocations: 0 / 434.2 MB, free: 6.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003793/0.3279, allocations: 117.5 kB / 434.3 MB, free: 6.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.3279, allocations: 10.44 kB / 434.3 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.328, allocations: 14 kB / 434.3 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.328, allocations: 0.875 kB / 434.3 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.3281, allocations: 27.91 kB / 434.4 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3281, allocations: 0 / 434.4 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.3283, allocations: 8 kB / 434.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.3283, allocations: 7.984 kB / 434.4 MB, free: 6.039 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 9.839e-05/0.3284, allocations: 117.8 kB / 434.5 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.3285, allocations: 7.953 kB / 434.5 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006406/0.3291, allocations: 257.9 kB / 434.8 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3291, allocations: 0.5156 kB / 434.8 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.3291, allocations: 0 / 434.8 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3291, allocations: 4 kB / 434.8 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.3293, allocations: 158.6 kB / 434.9 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3293, allocations: 0 / 434.9 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.3295, allocations: 27.91 kB / 434.9 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3295, allocations: 0 / 434.9 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.3295, allocations: 11.98 kB / 435 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3295, allocations: 3.938 kB / 435 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3295, allocations: 4 kB / 435 MB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/0.33, allocations: 181.7 kB / 435.1 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.3301, allocations: 12.02 kB / 435.2 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.3301, allocations: 0 / 435.2 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.3303, allocations: 11.92 kB / 435.2 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.3304, allocations: 11.98 kB / 435.2 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.3304, allocations: 4 kB / 435.2 MB, free: 5.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.3306, allocations: 131.3 kB / 435.3 MB, free: 5.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3306, allocations: 0 / 435.3 MB, free: 5.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005623/0.3311, allocations: 171.5 kB / 435.5 MB, free: 4.891 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.0008949/0.332, allocations: 414.1 kB / 435.9 MB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.3323, allocations: 79.88 kB / 436 MB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3323, allocations: 0 / 436 MB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.3325, allocations: 39.91 kB / 436 MB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.3327, allocations: 15.06 kB / 436 MB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005453/0.3332, allocations: 254.1 kB / 436.3 MB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.905e-05/0.3333, allocations: 75.33 kB / 436.3 MB, free: 3.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005638/0.3339, allocations: 430.9 kB / 436.8 MB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.334, allocations: 48.38 kB / 436.8 MB, free: 3.512 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.334, allocations: 0 / 436.8 MB, free: 3.512 MB / 382.1 MB Notification: Performance of Templates: time 0.01203/0.346, allocations: 6.422 MB / 443.2 MB, free: 13.07 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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: 4.71923828125]