Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 108.6 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 195.7 kB / 24.51 MB, free: 4.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_4_0_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_0_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.001458/0.001458, allocations: 51.92 kB / 371.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2269, allocations: 52.19 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002408/0.2293, allocations: 1.355 MB / 424.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3706/0.5999, allocations: 149.2 MB / 0.5605 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.5999, allocations: 0 / 0.5605 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/0.6, allocations: 5.109 kB / 0.5605 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007255/0.6007, allocations: 240.8 kB / 0.5608 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007645/0.6014, allocations: 410.7 kB / 0.5612 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.616e-05/0.6015, allocations: 56.95 kB / 0.5612 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.185e-05/0.6016, allocations: 3.047 kB / 0.5612 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.938e-05/0.6016, allocations: 25.22 kB / 0.5612 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.245e-05/0.6017, allocations: 29.53 kB / 0.5613 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.6017, allocations: 2.625 kB / 0.5613 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008994/0.6026, allocations: 0.7001 MB / 0.562 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.6026, allocations: 9.266 kB / 0.562 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.6026, allocations: 24.17 kB / 0.562 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005598/0.6032, allocations: 498.2 kB / 0.5625 GB, free: 15.56 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.6032, allocations: 0 / 0.5625 GB, free: 15.56 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.6032, allocations: 0 / 0.5625 GB, free: 15.56 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.6032, allocations: 0 / 0.5625 GB, free: 15.56 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.0005097/0.6037, allocations: 358.1 kB / 0.5628 GB, free: 15.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.6037, allocations: 9.25 kB / 0.5628 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.505e-05/0.6037, allocations: 4.344 kB / 0.5628 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.6038, allocations: 36.52 kB / 0.5628 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009989/0.6048, allocations: 98.39 kB / 0.5629 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.605, allocations: 160.8 kB / 0.5631 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.605, allocations: 0 / 0.5631 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.605, allocations: 10.27 kB / 0.5631 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.6053, allocations: 93.02 kB / 0.5632 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.6053, allocations: 4 kB / 0.5632 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.6053, allocations: 3.094 kB / 0.5632 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.6053, allocations: 2.906 kB / 0.5632 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.6054, allocations: 48 kB / 0.5632 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.6057, allocations: 178.4 kB / 0.5634 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.6061, allocations: 128.5 kB / 0.5635 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.6062, allocations: 39.39 kB / 0.5636 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.6064, allocations: 95.05 kB / 0.5637 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.6064, allocations: 30.56 kB / 0.5637 GB, free: 14.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.6064, allocations: 0 / 0.5637 GB, free: 14.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004423/0.6069, allocations: 137.3 kB / 0.5638 GB, free: 14.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.6069, allocations: 80.73 kB / 0.5639 GB, free: 14.6 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.6071, allocations: 156.5 kB / 0.5641 GB, free: 14.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.6072, allocations: 28.86 kB / 0.5641 GB, free: 14.47 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.6072, allocations: 87.77 kB / 0.5642 GB, free: 14.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.6072, allocations: 20.3 kB / 0.5642 GB, free: 14.38 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.6073, allocations: 29.34 kB / 0.5642 GB, free: 14.36 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6074, allocations: 326.8 kB / 0.5645 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.317e-05/0.6075, allocations: 29.44 kB / 0.5646 GB, free: 14.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.6076, allocations: 53.41 kB / 0.5646 GB, free: 14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.6079, allocations: 86.92 kB / 0.5647 GB, free: 13.97 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6079, allocations: 0 / 0.5647 GB, free: 13.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003069/0.6082, allocations: 118.2 kB / 0.5648 GB, free: 13.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.6082, allocations: 5.719 kB / 0.5648 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.6082, allocations: 2.781 kB / 0.5648 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.6082, allocations: 0 / 0.5648 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.6083, allocations: 22.36 kB / 0.5648 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.6083, allocations: 11.75 kB / 0.5648 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.6085, allocations: 14.33 kB / 0.5649 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.6085, allocations: 8.062 kB / 0.5649 GB, free: 13.93 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.563e-05/0.6086, allocations: 117.8 kB / 0.565 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.6087, allocations: 1.875 kB / 0.565 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005089/0.6092, allocations: 259.3 kB / 0.5652 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.6092, allocations: 2.469 kB / 0.5652 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6092, allocations: 3.938 kB / 0.5652 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6092, allocations: 3.562 kB / 0.5652 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.6094, allocations: 193 kB / 0.5654 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6094, allocations: 1.094 kB / 0.5654 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.6095, allocations: 22.45 kB / 0.5654 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.6095, allocations: 7.031 kB / 0.5654 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.6095, allocations: 6.125 kB / 0.5655 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.6095, allocations: 2.25 kB / 0.5655 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6095, allocations: 0 / 0.5655 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.6099, allocations: 179.7 kB / 0.5656 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.61, allocations: 21.89 kB / 0.5656 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.61, allocations: 5.266 kB / 0.5657 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.6102, allocations: 10 kB / 0.5657 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.6102, allocations: 5.203 kB / 0.5657 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.6102, allocations: 2.656 kB / 0.5657 GB, free: 13.49 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.6104, allocations: 138.7 kB / 0.5658 GB, free: 13.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6104, allocations: 0 / 0.5658 GB, free: 13.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004388/0.6108, allocations: 132 kB / 0.5659 GB, free: 13.39 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.001208/0.612, allocations: 0.9279 MB / 0.5668 GB, free: 12.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.6123, allocations: 85.83 kB / 0.5669 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6123, allocations: 0 / 0.5669 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.6124, allocations: 37.97 kB / 0.567 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.6126, allocations: 10.5 kB / 0.567 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.615, allocations: 1.799 MB / 0.5687 GB, free: 11.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.6153, allocations: 0.6887 MB / 0.5694 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004061/0.6157, allocations: 427.5 kB / 0.5698 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.6158, allocations: 46.77 kB / 0.5698 GB, free: 10.71 MB / 462.1 MB Notification: Performance of SimCode: time 2.91e-07/0.6158, allocations: 1.094 kB / 0.5698 GB, free: 10.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.6437, allocations: 6.809 MB / 0.5765 GB, free: 9.504 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.22, allocations: 11.53 kB / 0.5765 GB, free: 9.5 MB / 462.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.597063667024486]