Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001537/0.001537, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 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.001717/0.001717, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 51.92 kB / 379 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2449, allocations: 53.37 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002582/0.2474, allocations: 1.37 MB / 433.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3678/0.6152, allocations: 152.1 MB / 0.5721 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.6152, allocations: 1.203 kB / 0.5721 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/0.6153, allocations: 10.12 kB / 0.5721 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008296/0.6161, allocations: 240.9 kB / 0.5723 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009848/0.6171, allocations: 410.5 kB / 0.5727 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.6172, allocations: 50.45 kB / 0.5728 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.6172, allocations: 7.016 kB / 0.5728 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.716e-05/0.6173, allocations: 27.39 kB / 0.5728 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.473e-05/0.6174, allocations: 34.42 kB / 0.5728 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.6174, allocations: 7.594 kB / 0.5729 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.6185, allocations: 0.7037 MB / 0.5735 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.6185, allocations: 8.875 kB / 0.5736 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.6185, allocations: 25.81 kB / 0.5736 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007312/0.6192, allocations: 0.4923 MB / 0.5741 GB, free: 12.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6193, allocations: 0 / 0.5741 GB, free: 12.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6193, allocations: 2.5 kB / 0.5741 GB, free: 12.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.6193, allocations: 0 / 0.5741 GB, free: 12.84 MB / 462.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.0005541/0.6198, allocations: 359.7 kB / 0.5744 GB, free: 12.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.6198, allocations: 10.12 kB / 0.5744 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.6212, allocations: 104.9 kB / 0.5745 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.6214, allocations: 163.1 kB / 0.5747 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.6214, allocations: 3.562 kB / 0.5747 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.6215, allocations: 7.922 kB / 0.5747 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.6217, allocations: 92.16 kB / 0.5748 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6217, allocations: 2.219 kB / 0.5748 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.6217, allocations: 3.688 kB / 0.5748 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.6217, allocations: 3.812 kB / 0.5748 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.6218, allocations: 43.05 kB / 0.5748 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002375/0.6221, allocations: 188.5 kB / 0.575 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.6225, allocations: 125.7 kB / 0.5751 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.6226, allocations: 38.89 kB / 0.5752 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.6229, allocations: 98.11 kB / 0.5752 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.6229, allocations: 35.66 kB / 0.5753 GB, free: 12.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.6229, allocations: 0 / 0.5753 GB, free: 12.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004325/0.6233, allocations: 132.1 kB / 0.5754 GB, free: 12 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.6234, allocations: 83.05 kB / 0.5755 GB, free: 11.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.6236, allocations: 157.3 kB / 0.5756 GB, free: 11.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.6236, allocations: 28.05 kB / 0.5757 GB, free: 11.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.6237, allocations: 90.08 kB / 0.5758 GB, free: 11.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.6237, allocations: 19.02 kB / 0.5758 GB, free: 11.67 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.6238, allocations: 31.44 kB / 0.5758 GB, free: 11.66 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6239, allocations: 319.8 kB / 0.5761 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.709e-05/0.624, allocations: 27.47 kB / 0.5761 GB, free: 11.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.6241, allocations: 48.47 kB / 0.5762 GB, free: 11.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.6243, allocations: 88.64 kB / 0.5763 GB, free: 11.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6243, allocations: 0 / 0.5763 GB, free: 11.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003137/0.6247, allocations: 120.4 kB / 0.5764 GB, free: 11.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.6247, allocations: 7.469 kB / 0.5764 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.6247, allocations: 4.938 kB / 0.5764 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.6247, allocations: 2.781 kB / 0.5764 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.6248, allocations: 28.75 kB / 0.5764 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.6248, allocations: 0 / 0.5764 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.625, allocations: 11.09 kB / 0.5764 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.625, allocations: 10.12 kB / 0.5764 GB, free: 11.22 MB / 462.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.366e-05/0.6251, allocations: 118.7 kB / 0.5766 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.6252, allocations: 8.453 kB / 0.5766 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005163/0.6257, allocations: 254.9 kB / 0.5768 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.6257, allocations: 0 / 0.5768 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6257, allocations: 6.422 kB / 0.5768 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.6257, allocations: 3.984 kB / 0.5768 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.6259, allocations: 192.9 kB / 0.577 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6259, allocations: 4 kB / 0.577 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.6261, allocations: 19.94 kB / 0.577 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.6261, allocations: 2.688 kB / 0.577 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.6261, allocations: 6.469 kB / 0.577 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.6261, allocations: 2.5 kB / 0.577 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6261, allocations: 0 / 0.577 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.6265, allocations: 183.4 kB / 0.5772 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.6265, allocations: 20.33 kB / 0.5772 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.6266, allocations: 0 / 0.5772 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.6267, allocations: 8.688 kB / 0.5772 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.6268, allocations: 9.062 kB / 0.5772 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.6268, allocations: 3.719 kB / 0.5772 GB, free: 10.78 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.6269, allocations: 132.1 kB / 0.5774 GB, free: 10.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6269, allocations: 0 / 0.5774 GB, free: 10.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005033/0.6275, allocations: 135.5 kB / 0.5775 GB, free: 10.68 MB / 462.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.0006338/0.6281, allocations: 299.7 kB / 0.5778 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.6284, allocations: 82.8 kB / 0.5779 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6284, allocations: 0 / 0.5779 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.6285, allocations: 38.44 kB / 0.5779 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.6287, allocations: 15.16 kB / 0.5779 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.6292, allocations: 330.4 kB / 0.5782 GB, free: 10.28 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.6295, allocations: 0.6879 MB / 0.5789 GB, free: 9.586 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.6297, allocations: 44.02 kB / 0.5789 GB, free: 9.574 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.6297, allocations: 0 / 0.5789 GB, free: 9.574 MB / 462.1 MB Notification: Performance of Templates: time 0.0064/0.6361, allocations: 4.192 MB / 0.583 GB, free: 8.094 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.238612696994096]