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.001229/0.001229, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00138/0.00138, allocations: 208.3 kB / 23.73 MB, free: 4.523 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.38/1.38, allocations: 230.6 MB / 257.5 MB, free: 7.797 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 51.92 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2411, allocations: 53.36 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002341/0.2434, allocations: 1.362 MB / 432.4 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3669/0.6103, allocations: 130.6 MB / 0.5498 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.6103, allocations: 2.312 kB / 0.5498 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.6104, allocations: 0 / 0.5498 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007528/0.6111, allocations: 249 kB / 0.5501 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008108/0.6119, allocations: 403.1 kB / 0.5505 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.573e-05/0.612, allocations: 60.95 kB / 0.5505 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.612, allocations: 7.938 kB / 0.5505 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.6121, allocations: 26.28 kB / 0.5506 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.379e-05/0.6122, allocations: 26.02 kB / 0.5506 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.6122, allocations: 1.375 kB / 0.5506 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008341/0.613, allocations: 0.5836 MB / 0.5512 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.613, allocations: 14.11 kB / 0.5512 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.6131, allocations: 16.8 kB / 0.5512 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005445/0.6136, allocations: 480.8 kB / 0.5516 GB, free: 1.242 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.6136, allocations: 4.203 kB / 0.5516 GB, free: 1.242 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.6136, allocations: 0.9375 kB / 0.5516 GB, free: 1.242 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.6136, allocations: 1.375 kB / 0.5516 GB, free: 1.242 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.0005634/0.6142, allocations: 360.1 kB / 0.552 GB, free: 16.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.6142, allocations: 10.5 kB / 0.552 GB, free: 16.93 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.6142, allocations: 31.69 kB / 0.552 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.6156, allocations: 105.2 kB / 0.5521 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.6158, allocations: 168.3 kB / 0.5523 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.6158, allocations: 6.188 kB / 0.5523 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.6158, allocations: 3.438 kB / 0.5523 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.6161, allocations: 92.11 kB / 0.5524 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.6161, allocations: 0 / 0.5524 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.6161, allocations: 7.25 kB / 0.5524 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.6161, allocations: 0 / 0.5524 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.6162, allocations: 48.48 kB / 0.5524 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.6165, allocations: 173.2 kB / 0.5526 GB, free: 16.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.6169, allocations: 122 kB / 0.5527 GB, free: 16.49 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.617, allocations: 41 kB / 0.5528 GB, free: 16.47 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002193/0.6172, allocations: 93.66 kB / 0.5529 GB, free: 16.47 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.6173, allocations: 35.62 kB / 0.5529 GB, free: 16.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.6173, allocations: 0.9062 kB / 0.5529 GB, free: 16.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004635/0.6177, allocations: 138.1 kB / 0.553 GB, free: 16.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.6178, allocations: 77.11 kB / 0.5531 GB, free: 16.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.618, allocations: 154.7 kB / 0.5532 GB, free: 16.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.618, allocations: 25.7 kB / 0.5533 GB, free: 16.17 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.6181, allocations: 88.14 kB / 0.5534 GB, free: 16.09 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.6181, allocations: 27.62 kB / 0.5534 GB, free: 16.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.6182, allocations: 29.67 kB / 0.5534 GB, free: 16.06 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6183, allocations: 321.9 kB / 0.5537 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.533e-05/0.6184, allocations: 23.47 kB / 0.5537 GB, free: 15.74 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.6185, allocations: 59.73 kB / 0.5538 GB, free: 15.71 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.6187, allocations: 84.48 kB / 0.5539 GB, free: 15.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6187, allocations: 2.531 kB / 0.5539 GB, free: 15.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003218/0.619, allocations: 118.3 kB / 0.554 GB, free: 15.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.619, allocations: 7.938 kB / 0.554 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.619, allocations: 3.938 kB / 0.554 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.6191, allocations: 2.906 kB / 0.554 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.6192, allocations: 25.66 kB / 0.554 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.6192, allocations: 3.844 kB / 0.554 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.6194, allocations: 8.594 kB / 0.554 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.6194, allocations: 8.953 kB / 0.554 GB, free: 15.64 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.91e-05/0.6195, allocations: 116.3 kB / 0.5542 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/0.6196, allocations: 11.38 kB / 0.5542 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005315/0.6201, allocations: 253.6 kB / 0.5544 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.6201, allocations: 0 / 0.5544 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6201, allocations: 0.9062 kB / 0.5544 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6201, allocations: 2.688 kB / 0.5544 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.6203, allocations: 187.9 kB / 0.5546 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6203, allocations: 2.469 kB / 0.5546 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.6204, allocations: 25.02 kB / 0.5546 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6204, allocations: 0 / 0.5546 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.6205, allocations: 4.906 kB / 0.5546 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.6205, allocations: 3.844 kB / 0.5546 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6205, allocations: 1.203 kB / 0.5546 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.6208, allocations: 184.1 kB / 0.5548 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.6209, allocations: 13.58 kB / 0.5548 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.6209, allocations: 5.172 kB / 0.5548 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.6211, allocations: 4.281 kB / 0.5548 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.6212, allocations: 12.67 kB / 0.5548 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.6212, allocations: 3.281 kB / 0.5548 GB, free: 15.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.6213, allocations: 129.6 kB / 0.555 GB, free: 15.15 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6213, allocations: 0 / 0.555 GB, free: 15.15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004864/0.6218, allocations: 135.9 kB / 0.5551 GB, free: 15.13 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.001136/0.623, allocations: 0.9222 MB / 0.556 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.6232, allocations: 78.05 kB / 0.5561 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6232, allocations: 0.9375 kB / 0.5561 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.6233, allocations: 41.48 kB / 0.5561 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.6235, allocations: 13.06 kB / 0.5561 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.6259, allocations: 1.797 MB / 0.5579 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.374e-05/0.626, allocations: 70.98 kB / 0.5579 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004048/0.6264, allocations: 432 kB / 0.5584 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.6265, allocations: 49.12 kB / 0.5584 GB, free: 13.14 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.6265, allocations: 0 / 0.5584 GB, free: 13.14 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.6611, allocations: 7.435 MB / 0.5657 GB, free: 11.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.28, allocations: 5.562 kB / 0.5657 GB, free: 11.68 MB / 462.1 MB " [Timeout remaining time 649] (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.570272088982165]