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.001525/0.001525, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.00167/0.00167, allocations: 210.1 kB / 24.52 MB, free: 3.941 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.384/1.384, allocations: 230.5 MB / 258.2 MB, free: 7.805 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: 63.91 kB / 378.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2425, allocations: 53.4 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002433/0.2449, allocations: 1.347 MB / 433.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3575/0.6025, allocations: 130.5 MB / 0.5506 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.296e-05/0.6025, allocations: 2.438 kB / 0.5506 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.6025, allocations: 5.625 kB / 0.5506 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000892/0.6034, allocations: 242.1 kB / 0.5508 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.6045, allocations: 408 kB / 0.5512 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.716e-05/0.6046, allocations: 56.11 kB / 0.5512 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.6046, allocations: 6.234 kB / 0.5512 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.6047, allocations: 22.42 kB / 0.5513 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.022e-05/0.6048, allocations: 31.16 kB / 0.5513 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.6048, allocations: 1.375 kB / 0.5513 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.6058, allocations: 0.59 MB / 0.5519 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.6058, allocations: 10.44 kB / 0.5519 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.6058, allocations: 17.41 kB / 0.5519 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006794/0.6065, allocations: 483.3 kB / 0.5524 GB, free: 1.223 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.6065, allocations: 1 kB / 0.5524 GB, free: 1.223 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6065, allocations: 0 / 0.5524 GB, free: 1.223 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.6065, allocations: 0 / 0.5524 GB, free: 1.223 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.0007065/0.6072, allocations: 362.1 kB / 0.5527 GB, free: 16.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.6073, allocations: 10.22 kB / 0.5527 GB, free: 16.91 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.8e-05/0.6073, allocations: 4.562 kB / 0.5527 GB, free: 16.91 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.392e-05/0.6073, allocations: 30.75 kB / 0.5528 GB, free: 16.87 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.6087, allocations: 110.8 kB / 0.5529 GB, free: 16.87 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.609, allocations: 166.8 kB / 0.553 GB, free: 16.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.609, allocations: 0.875 kB / 0.553 GB, free: 16.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.609, allocations: 3.312 kB / 0.553 GB, free: 16.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.6092, allocations: 98.95 kB / 0.5531 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.6093, allocations: 1.594 kB / 0.5531 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.6093, allocations: 0 / 0.5531 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.6093, allocations: 0.8125 kB / 0.5531 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.6094, allocations: 47.64 kB / 0.5532 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.6097, allocations: 174.7 kB / 0.5533 GB, free: 16.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.6101, allocations: 117.2 kB / 0.5534 GB, free: 16.47 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.6103, allocations: 42.42 kB / 0.5535 GB, free: 16.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/0.6105, allocations: 92.48 kB / 0.5536 GB, free: 16.45 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.6105, allocations: 39.02 kB / 0.5536 GB, free: 16.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.6105, allocations: 0 / 0.5536 GB, free: 16.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.000441/0.6109, allocations: 134.6 kB / 0.5537 GB, free: 16.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.611, allocations: 82.17 kB / 0.5538 GB, free: 16.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.6112, allocations: 158.8 kB / 0.554 GB, free: 16.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.6112, allocations: 25.7 kB / 0.554 GB, free: 16.15 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.6113, allocations: 83.55 kB / 0.5541 GB, free: 16.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.6113, allocations: 25.5 kB / 0.5541 GB, free: 16.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.6113, allocations: 30.88 kB / 0.5541 GB, free: 16.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6115, allocations: 327.4 kB / 0.5544 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.6116, allocations: 25.03 kB / 0.5545 GB, free: 15.72 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.6117, allocations: 54.56 kB / 0.5545 GB, free: 15.69 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.6119, allocations: 86.75 kB / 0.5546 GB, free: 15.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.6119, allocations: 0 / 0.5546 GB, free: 15.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000308/0.6122, allocations: 126.1 kB / 0.5547 GB, free: 15.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.6122, allocations: 6.438 kB / 0.5547 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.6122, allocations: 0 / 0.5547 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.6122, allocations: 6.969 kB / 0.5547 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.6124, allocations: 23.27 kB / 0.5548 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.6124, allocations: 3.5 kB / 0.5548 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.6125, allocations: 5.609 kB / 0.5548 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.6126, allocations: 9.641 kB / 0.5548 GB, free: 15.62 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 8.741e-05/0.6127, allocations: 120.1 kB / 0.5549 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.6127, allocations: 7.359 kB / 0.5549 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005078/0.6132, allocations: 256 kB / 0.5551 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6132, allocations: 3.406 kB / 0.5551 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6132, allocations: 0.9688 kB / 0.5551 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.6132, allocations: 0.5156 kB / 0.5551 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.6134, allocations: 185.9 kB / 0.5553 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6134, allocations: 0 / 0.5553 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.6135, allocations: 26.36 kB / 0.5553 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6136, allocations: 0 / 0.5553 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.6136, allocations: 6.625 kB / 0.5553 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.6136, allocations: 0.9062 kB / 0.5553 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6136, allocations: 0 / 0.5553 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.6139, allocations: 177.7 kB / 0.5555 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.614, allocations: 18.78 kB / 0.5555 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.614, allocations: 3 kB / 0.5555 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.6142, allocations: 10 kB / 0.5555 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.6142, allocations: 12.03 kB / 0.5556 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.6142, allocations: 2.047 kB / 0.5556 GB, free: 15.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.6144, allocations: 132.9 kB / 0.5557 GB, free: 15.13 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6144, allocations: 0.9688 kB / 0.5557 GB, free: 15.13 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004513/0.6148, allocations: 138.5 kB / 0.5558 GB, free: 15.1 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.001118/0.616, allocations: 0.9126 MB / 0.5567 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.6162, allocations: 81.8 kB / 0.5568 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6162, allocations: 0 / 0.5568 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.6163, allocations: 36.62 kB / 0.5568 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.6165, allocations: 15.83 kB / 0.5568 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.6189, allocations: 1.802 MB / 0.5586 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.123e-05/0.6189, allocations: 74.11 kB / 0.5587 GB, free: 13.15 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004082/0.6193, allocations: 435.6 kB / 0.5591 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.6194, allocations: 49.59 kB / 0.5591 GB, free: 13.1 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/0.6194, allocations: 0 / 0.5591 GB, free: 13.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.647, allocations: 7.032 MB / 0.566 GB, free: 12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.36, allocations: 2.75 kB / 0.566 GB, free: 12 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.819179211044684]