Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001805/0.001805, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002259/0.002259, allocations: 211.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 63.89 kB / 377.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2383, allocations: 53.41 MB / 431.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002479/0.2408, allocations: 1.371 MB / 432.5 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.4129/0.6537, allocations: 152.1 MB / 0.5709 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.246e-05/0.6537, allocations: 0 / 0.5709 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.6537, allocations: 5.625 kB / 0.5709 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008657/0.6546, allocations: 244.8 kB / 0.5712 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008972/0.6555, allocations: 405.9 kB / 0.5716 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.111e-05/0.6556, allocations: 61.03 kB / 0.5716 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.468e-05/0.6556, allocations: 4.906 kB / 0.5716 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.017e-05/0.6557, allocations: 25 kB / 0.5716 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.825e-05/0.6558, allocations: 35.55 kB / 0.5717 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.6558, allocations: 2.125 kB / 0.5717 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009922/0.6568, allocations: 0.7035 MB / 0.5724 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.6568, allocations: 9.375 kB / 0.5724 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.6568, allocations: 27.09 kB / 0.5724 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005877/0.6574, allocations: 0.4911 MB / 0.5729 GB, free: 12.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6574, allocations: 0 / 0.5729 GB, free: 12.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.6574, allocations: 0 / 0.5729 GB, free: 12.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.6574, allocations: 0 / 0.5729 GB, free: 12.86 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.0005177/0.6579, allocations: 361.7 kB / 0.5732 GB, free: 12.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.658, allocations: 10.12 kB / 0.5732 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.658, allocations: 33.5 kB / 0.5733 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.6592, allocations: 108.4 kB / 0.5734 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.6594, allocations: 166.6 kB / 0.5735 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.6594, allocations: 10.16 kB / 0.5735 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.6594, allocations: 2.719 kB / 0.5735 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.6596, allocations: 92.05 kB / 0.5736 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.6597, allocations: 0 / 0.5736 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.6597, allocations: 6.094 kB / 0.5736 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6597, allocations: 2.094 kB / 0.5736 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.6598, allocations: 45.14 kB / 0.5737 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002462/0.6601, allocations: 185.2 kB / 0.5739 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.6605, allocations: 122.2 kB / 0.574 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.6606, allocations: 39.75 kB / 0.574 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.6608, allocations: 95.58 kB / 0.5741 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.6608, allocations: 36.62 kB / 0.5741 GB, free: 12.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.6608, allocations: 0 / 0.5741 GB, free: 12.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004288/0.6613, allocations: 138.3 kB / 0.5743 GB, free: 11.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.6613, allocations: 80.73 kB / 0.5743 GB, free: 11.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.6615, allocations: 153.5 kB / 0.5745 GB, free: 11.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.6615, allocations: 25.7 kB / 0.5745 GB, free: 11.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.6616, allocations: 83.58 kB / 0.5746 GB, free: 11.67 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.6616, allocations: 27.62 kB / 0.5746 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/0.6617, allocations: 34.91 kB / 0.5747 GB, free: 11.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6618, allocations: 317.4 kB / 0.575 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.6619, allocations: 28.58 kB / 0.575 GB, free: 11.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.662, allocations: 51.88 kB / 0.575 GB, free: 11.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.6622, allocations: 86.19 kB / 0.5751 GB, free: 11.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6622, allocations: 0 / 0.5751 GB, free: 11.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002911/0.6625, allocations: 127.4 kB / 0.5752 GB, free: 11.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.6625, allocations: 9.938 kB / 0.5752 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6625, allocations: 0 / 0.5752 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.6625, allocations: 3.875 kB / 0.5753 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.6627, allocations: 24.95 kB / 0.5753 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.6627, allocations: 6.562 kB / 0.5753 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.6628, allocations: 9.125 kB / 0.5753 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.6629, allocations: 10.86 kB / 0.5753 GB, free: 11.2 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.369e-05/0.6629, allocations: 112.5 kB / 0.5754 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.663, allocations: 9.297 kB / 0.5754 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005186/0.6635, allocations: 261.1 kB / 0.5757 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.6635, allocations: 2.125 kB / 0.5757 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.6635, allocations: 0 / 0.5757 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.6635, allocations: 3.078 kB / 0.5757 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.6637, allocations: 195.7 kB / 0.5759 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.6637, allocations: 4.062 kB / 0.5759 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.6639, allocations: 25.14 kB / 0.5759 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6639, allocations: 0 / 0.5759 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.6639, allocations: 6.812 kB / 0.5759 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6639, allocations: 0 / 0.5759 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6639, allocations: 0 / 0.5759 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.6643, allocations: 175 kB / 0.5761 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.6643, allocations: 18.62 kB / 0.5761 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.6643, allocations: 2.688 kB / 0.5761 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.6645, allocations: 12.44 kB / 0.5761 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.6645, allocations: 6.562 kB / 0.5761 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.6646, allocations: 4.391 kB / 0.5761 GB, free: 10.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.6647, allocations: 132.7 kB / 0.5762 GB, free: 10.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6647, allocations: 0 / 0.5762 GB, free: 10.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004243/0.6651, allocations: 131.3 kB / 0.5764 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.001105/0.6662, allocations: 0.9169 MB / 0.5773 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.6665, allocations: 75.64 kB / 0.5773 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6665, allocations: 128 / 0.5773 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.6666, allocations: 41.39 kB / 0.5774 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.6668, allocations: 19.16 kB / 0.5774 GB, free: 9.996 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.6691, allocations: 1.788 MB / 0.5791 GB, free: 8.711 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.6695, allocations: 0.6927 MB / 0.5798 GB, free: 8.012 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004611/0.6699, allocations: 438.4 kB / 0.5802 GB, free: 7.965 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.6701, allocations: 45.53 kB / 0.5803 GB, free: 7.953 MB / 462.1 MB Notification: Performance of SimCode: time 3.9e-07/0.6701, allocations: 0 / 0.5803 GB, free: 7.953 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/0.7053, allocations: 6.779 MB / 0.5869 GB, free: 4.773 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.42, allocations: 11.44 kB / 0.5869 GB, free: 4.766 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.80981627595611]