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.001683/0.001683, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002057/0.002057, allocations: 207.5 kB / 24.53 MB, free: 4.07 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.359/1.359, allocations: 230.5 MB / 258.2 MB, free: 8.02 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 55.91 kB / 378.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2358, allocations: 53.42 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002378/0.2382, allocations: 1.367 MB / 433.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3816/0.6197, allocations: 152.1 MB / 0.5717 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.6198, allocations: 2.344 kB / 0.5717 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.134e-05/0.6198, allocations: 3.938 kB / 0.5717 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007877/0.6206, allocations: 245.1 kB / 0.5719 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009176/0.6215, allocations: 405.2 kB / 0.5723 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.642e-05/0.6216, allocations: 59.69 kB / 0.5724 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.284e-05/0.6216, allocations: 4.625 kB / 0.5724 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.141e-05/0.6217, allocations: 23.59 kB / 0.5724 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.964e-05/0.6217, allocations: 36.44 kB / 0.5724 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.6218, allocations: 6.281 kB / 0.5725 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009929/0.6227, allocations: 0.7052 MB / 0.5731 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.6228, allocations: 3.812 kB / 0.5731 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.6228, allocations: 24.2 kB / 0.5732 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006161/0.6234, allocations: 0.4916 MB / 0.5737 GB, free: 12.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6234, allocations: 4 kB / 0.5737 GB, free: 12.85 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.6234, allocations: 1.203 kB / 0.5737 GB, free: 12.85 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.6234, allocations: 0 / 0.5737 GB, free: 12.85 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.0004952/0.6239, allocations: 362.1 kB / 0.574 GB, free: 12.54 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.6239, allocations: 10.88 kB / 0.574 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.412e-05/0.624, allocations: 192 / 0.574 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.817e-05/0.624, allocations: 32.81 kB / 0.574 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.6252, allocations: 110.1 kB / 0.5741 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.6254, allocations: 167.7 kB / 0.5743 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.6254, allocations: 2.812 kB / 0.5743 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.6255, allocations: 0 / 0.5743 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.6257, allocations: 98.06 kB / 0.5744 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.6257, allocations: 7.078 kB / 0.5744 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.6257, allocations: 1.188 kB / 0.5744 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.6257, allocations: 2.094 kB / 0.5744 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.6258, allocations: 41.45 kB / 0.5745 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.6261, allocations: 179.3 kB / 0.5746 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.6265, allocations: 132 kB / 0.5747 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.6266, allocations: 36.11 kB / 0.5748 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002295/0.6269, allocations: 95.8 kB / 0.5749 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.6269, allocations: 33.34 kB / 0.5749 GB, free: 12.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.6269, allocations: 0 / 0.5749 GB, free: 12.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004654/0.6274, allocations: 137.3 kB / 0.575 GB, free: 11.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.6274, allocations: 81.23 kB / 0.5751 GB, free: 11.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.6276, allocations: 155.7 kB / 0.5753 GB, free: 11.78 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.6276, allocations: 28.39 kB / 0.5753 GB, free: 11.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.6277, allocations: 83.27 kB / 0.5754 GB, free: 11.67 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.6277, allocations: 24.02 kB / 0.5754 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.6278, allocations: 36.48 kB / 0.5754 GB, free: 11.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6279, allocations: 320.7 kB / 0.5757 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.626e-05/0.628, allocations: 26.55 kB / 0.5758 GB, free: 11.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.6282, allocations: 49.88 kB / 0.5758 GB, free: 11.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.6284, allocations: 98.84 kB / 0.5759 GB, free: 11.24 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6284, allocations: 1.203 kB / 0.5759 GB, free: 11.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003084/0.6287, allocations: 119.1 kB / 0.576 GB, free: 11.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.6287, allocations: 5.031 kB / 0.576 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6287, allocations: 2 kB / 0.576 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.6287, allocations: 0 / 0.576 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.6289, allocations: 32.12 kB / 0.5761 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.6289, allocations: 3.125 kB / 0.5761 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.629, allocations: 6.375 kB / 0.5761 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.6291, allocations: 12.58 kB / 0.5761 GB, free: 11.19 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.156e-05/0.6291, allocations: 116.3 kB / 0.5762 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.6292, allocations: 6.734 kB / 0.5762 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.6297, allocations: 251.6 kB / 0.5764 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.6297, allocations: 2.906 kB / 0.5764 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6297, allocations: 3.938 kB / 0.5764 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.6297, allocations: 2.062 kB / 0.5764 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.6299, allocations: 193.5 kB / 0.5766 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.6299, allocations: 0 / 0.5766 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.6301, allocations: 25 kB / 0.5766 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.6301, allocations: 0 / 0.5766 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.6301, allocations: 4.562 kB / 0.5767 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6301, allocations: 4 kB / 0.5767 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6301, allocations: 1.203 kB / 0.5767 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.6305, allocations: 183.1 kB / 0.5768 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.6305, allocations: 16.39 kB / 0.5768 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.6306, allocations: 0 / 0.5768 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.6307, allocations: 14.53 kB / 0.5769 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.6308, allocations: 7.312 kB / 0.5769 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.6308, allocations: 2.406 kB / 0.5769 GB, free: 10.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001601/0.631, allocations: 131.9 kB / 0.577 GB, free: 10.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.631, allocations: 0 / 0.577 GB, free: 10.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005223/0.6315, allocations: 136 kB / 0.5771 GB, free: 10.65 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.001216/0.6327, allocations: 0.9158 MB / 0.578 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.633, allocations: 76.7 kB / 0.5781 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.633, allocations: 0 / 0.5781 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.6331, allocations: 42.06 kB / 0.5781 GB, free: 9.992 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.6333, allocations: 13.06 kB / 0.5781 GB, free: 9.992 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.636, allocations: 1.795 MB / 0.5799 GB, free: 8.703 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.6363, allocations: 0.6917 MB / 0.5806 GB, free: 8.004 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004428/0.6368, allocations: 433.5 kB / 0.581 GB, free: 7.961 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.6369, allocations: 47.58 kB / 0.581 GB, free: 7.949 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6369, allocations: 0 / 0.581 GB, free: 7.949 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.6655, allocations: 6.802 MB / 0.5877 GB, free: 4.762 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.17, allocations: 10.64 kB / 0.5877 GB, free: 4.754 MB / 462.1 MB " [Timeout remaining time 649] (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.533762044971809]