Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.004264/0.004264, allocations: 100.7 kB / 21.96 MB, free: 5.211 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.001273/0.001273, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.266/1.266, allocations: 207.7 MB / 236.1 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 51.92 kB / 348 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2133, allocations: 49.16 MB / 397.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002024/0.2153, allocations: 1.334 MB / 398.5 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1429/0.3581, allocations: 129.5 MB / 0.5155 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.3582, allocations: 0 / 0.5155 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.3582, allocations: 7.922 kB / 0.5156 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.3593, allocations: 358.1 kB / 0.5159 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.3611, allocations: 0.8233 MB / 0.5167 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.3612, allocations: 67.7 kB / 0.5168 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.3613, allocations: 7.984 kB / 0.5168 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.275e-05/0.3613, allocations: 35.86 kB / 0.5168 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.983e-05/0.3614, allocations: 39.83 kB / 0.5168 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.3615, allocations: 0 / 0.5168 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.3634, allocations: 1.216 MB / 0.518 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.725e-05/0.3634, allocations: 11.92 kB / 0.518 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.3634, allocations: 27.88 kB / 0.5181 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.3646, allocations: 0.8105 MB / 0.5189 GB, free: 12.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3646, allocations: 0 / 0.5189 GB, free: 12.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3646, allocations: 0 / 0.5189 GB, free: 12.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.3646, allocations: 11.94 kB / 0.5189 GB, free: 12.47 MB / 446.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.0005837/0.3652, allocations: 405 kB / 0.5193 GB, free: 12.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3652, allocations: 19.92 kB / 0.5193 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.316e-05/0.3652, allocations: 4.172 kB / 0.5193 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.3652, allocations: 30.75 kB / 0.5193 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.3655, allocations: 40.83 kB / 0.5193 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.3657, allocations: 142.4 kB / 0.5195 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3657, allocations: 7.938 kB / 0.5195 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.3657, allocations: 7.984 kB / 0.5195 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.3659, allocations: 67.39 kB / 0.5196 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.3659, allocations: 4 kB / 0.5196 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.3659, allocations: 4 kB / 0.5196 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.3659, allocations: 0 / 0.5196 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.666e-05/0.366, allocations: 47.91 kB / 0.5196 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.3662, allocations: 165.6 kB / 0.5198 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.3665, allocations: 113.1 kB / 0.5199 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.419e-05/0.3666, allocations: 33.77 kB / 0.5199 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004804/0.367, allocations: 67.92 kB / 0.52 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.3671, allocations: 30.56 kB / 0.52 GB, free: 11.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3671, allocations: 0 / 0.52 GB, free: 11.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003466/0.3674, allocations: 121.5 kB / 0.5201 GB, free: 11.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.3675, allocations: 81.11 kB / 0.5202 GB, free: 10.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3676, allocations: 141.8 kB / 0.5203 GB, free: 10.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.3676, allocations: 29.69 kB / 0.5204 GB, free: 10.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/0.3677, allocations: 84.14 kB / 0.5204 GB, free: 10.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.3677, allocations: 27.78 kB / 0.5205 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.3677, allocations: 25.7 kB / 0.5205 GB, free: 10.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3679, allocations: 314.8 kB / 0.5208 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.939e-05/0.3679, allocations: 23.98 kB / 0.5208 GB, free: 10.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.902e-05/0.368, allocations: 55.34 kB / 0.5209 GB, free: 10.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.3682, allocations: 87.66 kB / 0.521 GB, free: 10.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3682, allocations: 0 / 0.521 GB, free: 10.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002417/0.3684, allocations: 113.5 kB / 0.5211 GB, free: 9.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3684, allocations: 7.938 kB / 0.5211 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3684, allocations: 4 kB / 0.5211 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.3684, allocations: 0 / 0.5211 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.122e-05/0.3685, allocations: 15.98 kB / 0.5211 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3685, allocations: 0 / 0.5211 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.3686, allocations: 8.062 kB / 0.5211 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.3686, allocations: 4 kB / 0.5211 GB, free: 9.941 MB / 446.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 8.316e-05/0.3686, allocations: 129.6 kB / 0.5212 GB, free: 9.805 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.3687, allocations: 7.953 kB / 0.5212 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.3689, allocations: 114 kB / 0.5213 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3689, allocations: 0 / 0.5213 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3689, allocations: 0 / 0.5213 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.369, allocations: 0 / 0.5213 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.3691, allocations: 160.6 kB / 0.5215 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3691, allocations: 4 kB / 0.5215 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.547e-05/0.3692, allocations: 8 kB / 0.5215 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3692, allocations: 4 kB / 0.5215 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3692, allocations: 3.984 kB / 0.5215 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3692, allocations: 0 / 0.5215 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3692, allocations: 0 / 0.5215 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.3695, allocations: 165.8 kB / 0.5217 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.3696, allocations: 16.03 kB / 0.5217 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.3696, allocations: 8 kB / 0.5217 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.146e-05/0.3696, allocations: 0 / 0.5217 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.3697, allocations: 12.05 kB / 0.5217 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3697, allocations: 0 / 0.5217 GB, free: 9.242 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.096e-05/0.3697, allocations: 115.3 kB / 0.5218 GB, free: 9.129 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3697, allocations: 0 / 0.5218 GB, free: 9.129 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005032/0.3702, allocations: 203.3 kB / 0.522 GB, free: 8.93 MB / 446.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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001618/0.3719, allocations: 1.125 MB / 0.5231 GB, free: 7.773 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.3721, allocations: 64 kB / 0.5232 GB, free: 7.711 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3721, allocations: 4 kB / 0.5232 GB, free: 7.707 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.514e-05/0.3721, allocations: 31.98 kB / 0.5232 GB, free: 7.676 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.3724, allocations: 23.92 kB / 0.5232 GB, free: 7.652 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.3743, allocations: 1.758 MB / 0.5249 GB, free: 5.785 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.944e-05/0.3744, allocations: 71.33 kB / 0.525 GB, free: 5.695 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.616e-05/0.3745, allocations: 20 kB / 0.525 GB, free: 5.676 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.3745, allocations: 27.42 kB / 0.5251 GB, free: 5.648 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3745, allocations: 0 / 0.5251 GB, free: 5.648 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.4057, allocations: 8.102 MB / 0.533 GB, free: 13.49 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.96, allocations: 8.062 kB / 0.533 GB, free: 13.48 MB / 462.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.322900105034932]