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.001554/0.001554, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001845/0.001845, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.351/1.351, allocations: 230.6 MB / 258.3 MB, free: 8.031 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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 51.92 kB / 378.6 MB, free: 3.246 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2335, allocations: 53.35 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002515/0.236, allocations: 1.378 MB / 433.3 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4011/0.6371, allocations: 152.1 MB / 0.5716 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.6371, allocations: 1.094 kB / 0.5717 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.041e-05/0.6372, allocations: 10.33 kB / 0.5717 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008864/0.6381, allocations: 244.4 kB / 0.5719 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000946/0.639, allocations: 406.9 kB / 0.5723 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.546e-05/0.6391, allocations: 58.62 kB / 0.5723 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.6391, allocations: 3.125 kB / 0.5723 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.6392, allocations: 22.47 kB / 0.5724 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.86e-05/0.6393, allocations: 40.52 kB / 0.5724 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.6393, allocations: 4 kB / 0.5724 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.6403, allocations: 0.7022 MB / 0.5731 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.6403, allocations: 7.234 kB / 0.5731 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.6403, allocations: 24.28 kB / 0.5731 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000642/0.641, allocations: 0.4919 MB / 0.5736 GB, free: 12.88 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.641, allocations: 2.094 kB / 0.5736 GB, free: 12.88 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.641, allocations: 0 / 0.5736 GB, free: 12.88 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.641, allocations: 0 / 0.5736 GB, free: 12.88 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.0005508/0.6415, allocations: 362.9 kB / 0.5739 GB, free: 12.56 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.6416, allocations: 9.812 kB / 0.574 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.377e-05/0.6416, allocations: 5.938 kB / 0.574 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.918e-05/0.6416, allocations: 30.75 kB / 0.574 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.6429, allocations: 104.4 kB / 0.5741 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.6431, allocations: 174 kB / 0.5743 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.6431, allocations: 3.312 kB / 0.5743 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.6431, allocations: 3.062 kB / 0.5743 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.6433, allocations: 92.53 kB / 0.5744 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.6434, allocations: 3.219 kB / 0.5744 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.6434, allocations: 3.5 kB / 0.5744 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6434, allocations: 0 / 0.5744 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.6435, allocations: 43.88 kB / 0.5744 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.6438, allocations: 183.2 kB / 0.5746 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.6442, allocations: 129.2 kB / 0.5747 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.6443, allocations: 39.77 kB / 0.5747 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/0.6445, allocations: 94.11 kB / 0.5748 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.6446, allocations: 30.56 kB / 0.5749 GB, free: 12.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.6446, allocations: 0 / 0.5749 GB, free: 12.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004577/0.645, allocations: 136.1 kB / 0.575 GB, free: 12 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.6451, allocations: 79.64 kB / 0.5751 GB, free: 11.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.6453, allocations: 168.8 kB / 0.5752 GB, free: 11.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.6453, allocations: 25.7 kB / 0.5752 GB, free: 11.76 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.6453, allocations: 85.73 kB / 0.5753 GB, free: 11.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.6454, allocations: 23.86 kB / 0.5754 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.6454, allocations: 30.8 kB / 0.5754 GB, free: 11.65 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6456, allocations: 321.1 kB / 0.5757 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.335e-05/0.6457, allocations: 25.81 kB / 0.5757 GB, free: 11.33 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.6458, allocations: 58.22 kB / 0.5758 GB, free: 11.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.646, allocations: 81.36 kB / 0.5758 GB, free: 11.26 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.646, allocations: 0 / 0.5758 GB, free: 11.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003146/0.6463, allocations: 124.7 kB / 0.576 GB, free: 11.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.6463, allocations: 4.594 kB / 0.576 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6463, allocations: 5.594 kB / 0.576 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.6463, allocations: 0 / 0.576 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.6465, allocations: 29.41 kB / 0.576 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.6465, allocations: 2.625 kB / 0.576 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.6466, allocations: 6.141 kB / 0.576 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.6466, allocations: 10.92 kB / 0.576 GB, free: 11.21 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.496e-05/0.6467, allocations: 118.8 kB / 0.5761 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.6468, allocations: 5.797 kB / 0.5761 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/0.6473, allocations: 248.2 kB / 0.5764 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.6473, allocations: 0 / 0.5764 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6473, allocations: 6.469 kB / 0.5764 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.6473, allocations: 4 kB / 0.5764 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.6475, allocations: 200.1 kB / 0.5766 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.6475, allocations: 2.109 kB / 0.5766 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.6477, allocations: 19.97 kB / 0.5766 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.6477, allocations: 3.922 kB / 0.5766 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.6477, allocations: 6.141 kB / 0.5766 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.6477, allocations: 2.188 kB / 0.5766 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6477, allocations: 0 / 0.5766 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003958/0.6481, allocations: 181.1 kB / 0.5768 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.6481, allocations: 19.34 kB / 0.5768 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.6482, allocations: 3.984 kB / 0.5768 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.6483, allocations: 4.891 kB / 0.5768 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.6484, allocations: 10.27 kB / 0.5768 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.6484, allocations: 5.688 kB / 0.5768 GB, free: 10.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.6485, allocations: 139.5 kB / 0.577 GB, free: 10.69 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6485, allocations: 0 / 0.577 GB, free: 10.69 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004735/0.649, allocations: 135.2 kB / 0.5771 GB, free: 10.66 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.001187/0.6502, allocations: 0.908 MB / 0.578 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.6505, allocations: 73.88 kB / 0.578 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6505, allocations: 0 / 0.578 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.6506, allocations: 37.69 kB / 0.5781 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.6508, allocations: 17.86 kB / 0.5781 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.6533, allocations: 1.8 MB / 0.5799 GB, free: 8.723 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.6536, allocations: 0.6861 MB / 0.5805 GB, free: 8.027 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004289/0.654, allocations: 437.7 kB / 0.5809 GB, free: 7.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.6541, allocations: 43.95 kB / 0.581 GB, free: 7.973 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.6541, allocations: 2.906 kB / 0.581 GB, free: 7.973 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.6835, allocations: 6.8 MB / 0.5876 GB, free: 4.812 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.41, allocations: 13.03 kB / 0.5876 GB, free: 4.805 MB / 462.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] 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: 13.826485419005621]