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.001682/0.001682, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.002058/0.002058, allocations: 213.8 kB / 23.73 MB, free: 4.406 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.424/1.424, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.001975/0.001975, allocations: 63.91 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2615, allocations: 53.4 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002382/0.2639, allocations: 1.359 MB / 432.5 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3997/0.6635, allocations: 130.6 MB / 0.5499 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.6636, allocations: 0 / 0.5499 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.6636, allocations: 7.188 kB / 0.5499 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008079/0.6644, allocations: 244.9 kB / 0.5501 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008777/0.6653, allocations: 407.5 kB / 0.5505 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.988e-05/0.6654, allocations: 59.34 kB / 0.5506 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.411e-05/0.6654, allocations: 2.75 kB / 0.5506 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.315e-05/0.6655, allocations: 25.61 kB / 0.5506 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/0.6655, allocations: 29.67 kB / 0.5506 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.6655, allocations: 2.312 kB / 0.5506 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009274/0.6665, allocations: 0.5714 MB / 0.5512 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.6665, allocations: 6.516 kB / 0.5512 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.6665, allocations: 21.77 kB / 0.5512 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005869/0.6671, allocations: 481.4 kB / 0.5517 GB, free: 1.238 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6671, allocations: 0 / 0.5517 GB, free: 1.238 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.6671, allocations: 1.875 kB / 0.5517 GB, free: 1.238 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.6671, allocations: 3.281 kB / 0.5517 GB, free: 1.238 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.0006079/0.6677, allocations: 359.3 kB / 0.552 GB, free: 16.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.6678, allocations: 12.14 kB / 0.552 GB, free: 16.92 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.6678, allocations: 34.44 kB / 0.5521 GB, free: 16.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.669, allocations: 108.2 kB / 0.5522 GB, free: 16.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.6693, allocations: 168.8 kB / 0.5523 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.6693, allocations: 0 / 0.5523 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.6693, allocations: 5.438 kB / 0.5523 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.6695, allocations: 97.75 kB / 0.5524 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.6695, allocations: 3.906 kB / 0.5524 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.6695, allocations: 1.203 kB / 0.5524 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.6695, allocations: 2.188 kB / 0.5524 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.6697, allocations: 48.14 kB / 0.5525 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.6699, allocations: 168.2 kB / 0.5526 GB, free: 16.53 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.6703, allocations: 120.5 kB / 0.5528 GB, free: 16.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.6704, allocations: 37.23 kB / 0.5528 GB, free: 16.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/0.6707, allocations: 97.38 kB / 0.5529 GB, free: 16.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.6707, allocations: 37.23 kB / 0.5529 GB, free: 16.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.6707, allocations: 0 / 0.5529 GB, free: 16.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004298/0.6711, allocations: 131 kB / 0.5531 GB, free: 16.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.6712, allocations: 91.11 kB / 0.5531 GB, free: 16.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.6714, allocations: 154.7 kB / 0.5533 GB, free: 16.19 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.6714, allocations: 25.7 kB / 0.5533 GB, free: 16.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.6714, allocations: 86.45 kB / 0.5534 GB, free: 16.08 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.6715, allocations: 22.11 kB / 0.5534 GB, free: 16.06 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.6715, allocations: 34.52 kB / 0.5534 GB, free: 16.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.6717, allocations: 318.2 kB / 0.5538 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.239e-05/0.6718, allocations: 30.38 kB / 0.5538 GB, free: 15.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.644e-05/0.6718, allocations: 54.23 kB / 0.5538 GB, free: 15.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.672, allocations: 80.62 kB / 0.5539 GB, free: 15.67 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.672, allocations: 1.938 kB / 0.5539 GB, free: 15.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002972/0.6723, allocations: 125.4 kB / 0.554 GB, free: 15.63 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.6724, allocations: 7.156 kB / 0.554 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6724, allocations: 5.406 kB / 0.554 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.6724, allocations: 0.8125 kB / 0.554 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.6725, allocations: 25.72 kB / 0.5541 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.6725, allocations: 6.719 kB / 0.5541 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.6727, allocations: 5.031 kB / 0.5541 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.6727, allocations: 16.42 kB / 0.5541 GB, free: 15.63 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.137e-05/0.6728, allocations: 114.2 kB / 0.5542 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.6728, allocations: 8.031 kB / 0.5542 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005551/0.6734, allocations: 254 kB / 0.5545 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.6734, allocations: 6.156 kB / 0.5545 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6734, allocations: 0 / 0.5545 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6734, allocations: 1.094 kB / 0.5545 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.6736, allocations: 187.8 kB / 0.5546 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6736, allocations: 64 / 0.5546 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.6737, allocations: 30.83 kB / 0.5547 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6737, allocations: 0 / 0.5547 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.6738, allocations: 0 / 0.5547 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6738, allocations: 4 kB / 0.5547 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6738, allocations: 4.297 kB / 0.5547 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.6742, allocations: 175.8 kB / 0.5548 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.6742, allocations: 20.67 kB / 0.5549 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.6742, allocations: 0 / 0.5549 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.6744, allocations: 9.188 kB / 0.5549 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.6744, allocations: 8.375 kB / 0.5549 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.6744, allocations: 10.94 kB / 0.5549 GB, free: 15.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.6746, allocations: 129.4 kB / 0.555 GB, free: 15.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6746, allocations: 0.9688 kB / 0.555 GB, free: 15.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004283/0.675, allocations: 132.5 kB / 0.5551 GB, free: 15.11 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.001101/0.6761, allocations: 0.9171 MB / 0.556 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.6764, allocations: 81.39 kB / 0.5561 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6764, allocations: 1.062 kB / 0.5561 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.6765, allocations: 31.81 kB / 0.5561 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.6767, allocations: 13.7 kB / 0.5562 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.679, allocations: 1.796 MB / 0.5579 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.22e-05/0.6791, allocations: 71.52 kB / 0.558 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004139/0.6795, allocations: 437.7 kB / 0.5584 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.6796, allocations: 47.95 kB / 0.5584 GB, free: 13.11 MB / 462.1 MB Notification: Performance of SimCode: time 3.7e-07/0.6796, allocations: 4 kB / 0.5584 GB, free: 13.11 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03541/0.715, allocations: 7.39 MB / 0.5657 GB, free: 11.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.59, allocations: 4 kB / 0.5657 GB, free: 11.62 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.951060321182013]