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.001269/0.001269, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001293/0.001293, allocations: 191.5 kB / 24.49 MB, free: 3.98 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.358/1.358, allocations: 225.7 MB / 253.3 MB, free: 12.87 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.001467/0.001467, allocations: 43.92 kB / 371.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2289, allocations: 52.18 MB / 423.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00245/0.2313, allocations: 1.335 MB / 424.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3689/0.6002, allocations: 127.7 MB / 0.5394 GB, free: 1.473 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.6002, allocations: 0 / 0.5394 GB, free: 1.473 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.734e-05/0.6003, allocations: 7.422 kB / 0.5394 GB, free: 1.473 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.6013, allocations: 235.9 kB / 0.5396 GB, free: 1.473 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.6024, allocations: 410.2 kB / 0.54 GB, free: 1.461 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.6025, allocations: 58.78 kB / 0.5401 GB, free: 1.461 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.6025, allocations: 2.75 kB / 0.5401 GB, free: 1.461 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.592e-05/0.6026, allocations: 26 kB / 0.5401 GB, free: 1.461 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.419e-05/0.6027, allocations: 32.34 kB / 0.5401 GB, free: 1.461 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.6027, allocations: 2.75 kB / 0.5401 GB, free: 1.461 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009435/0.6036, allocations: 0.574 MB / 0.5407 GB, free: 1.453 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.6036, allocations: 11.81 kB / 0.5407 GB, free: 1.453 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.6037, allocations: 19.39 kB / 0.5407 GB, free: 1.453 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006923/0.6044, allocations: 474.5 kB / 0.5412 GB, free: 1.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6044, allocations: 3.125 kB / 0.5412 GB, free: 1.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6044, allocations: 1.203 kB / 0.5412 GB, free: 1.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.6044, allocations: 0.875 kB / 0.5412 GB, free: 1.43 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.0006019/0.605, allocations: 356.6 kB / 0.5415 GB, free: 17.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.605, allocations: 11.25 kB / 0.5415 GB, free: 17.12 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.476e-05/0.605, allocations: 1.75 kB / 0.5416 GB, free: 17.12 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.798e-05/0.6051, allocations: 38.23 kB / 0.5416 GB, free: 17.08 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.6061, allocations: 95.06 kB / 0.5417 GB, free: 17.08 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.6064, allocations: 165.2 kB / 0.5418 GB, free: 16.95 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.6064, allocations: 5.062 kB / 0.5418 GB, free: 16.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.6064, allocations: 3.594 kB / 0.5418 GB, free: 16.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.6066, allocations: 89.69 kB / 0.5419 GB, free: 16.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.6066, allocations: 2.531 kB / 0.5419 GB, free: 16.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.6066, allocations: 4.062 kB / 0.5419 GB, free: 16.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6066, allocations: 5.344 kB / 0.5419 GB, free: 16.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.6068, allocations: 44.59 kB / 0.542 GB, free: 16.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.607, allocations: 172 kB / 0.5421 GB, free: 16.73 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/0.6074, allocations: 123.2 kB / 0.5423 GB, free: 16.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.894e-05/0.6075, allocations: 37.7 kB / 0.5423 GB, free: 16.67 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.6077, allocations: 88.31 kB / 0.5424 GB, free: 16.67 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.6078, allocations: 46.41 kB / 0.5424 GB, free: 16.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.6078, allocations: 0.9062 kB / 0.5424 GB, free: 16.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004638/0.6082, allocations: 132.3 kB / 0.5426 GB, free: 16.59 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.6083, allocations: 80.81 kB / 0.5426 GB, free: 16.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.6085, allocations: 154.6 kB / 0.5428 GB, free: 16.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.6085, allocations: 25.7 kB / 0.5428 GB, free: 16.37 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.6086, allocations: 90.89 kB / 0.5429 GB, free: 16.28 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.6086, allocations: 17.17 kB / 0.5429 GB, free: 16.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.6086, allocations: 34.95 kB / 0.5429 GB, free: 16.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6088, allocations: 321.3 kB / 0.5432 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.604e-05/0.6089, allocations: 26.52 kB / 0.5433 GB, free: 15.94 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.609, allocations: 57.5 kB / 0.5433 GB, free: 15.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.6092, allocations: 84.86 kB / 0.5434 GB, free: 15.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6092, allocations: 0.8438 kB / 0.5434 GB, free: 15.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00031/0.6095, allocations: 122.3 kB / 0.5435 GB, free: 15.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.6095, allocations: 3.344 kB / 0.5435 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6095, allocations: 3.344 kB / 0.5435 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.6095, allocations: 0 / 0.5435 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.6096, allocations: 29.19 kB / 0.5436 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.6096, allocations: 5 kB / 0.5436 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.6098, allocations: 16.44 kB / 0.5436 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.6098, allocations: 7.375 kB / 0.5436 GB, free: 15.83 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.522e-05/0.6099, allocations: 117.1 kB / 0.5437 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.61, allocations: 6.812 kB / 0.5437 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005018/0.6105, allocations: 244.4 kB / 0.5439 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.6105, allocations: 6.234 kB / 0.5439 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6105, allocations: 64 / 0.5439 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.6105, allocations: 7.656 kB / 0.544 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.6107, allocations: 187.4 kB / 0.5441 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6107, allocations: 0.9375 kB / 0.5441 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.6108, allocations: 23.36 kB / 0.5442 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.6108, allocations: 2.688 kB / 0.5442 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.6108, allocations: 2.141 kB / 0.5442 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.6108, allocations: 2.281 kB / 0.5442 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.6108, allocations: 0.8438 kB / 0.5442 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.6112, allocations: 184.6 kB / 0.5443 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.6112, allocations: 22.84 kB / 0.5444 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.6113, allocations: 4.719 kB / 0.5444 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.6115, allocations: 6.578 kB / 0.5444 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.6115, allocations: 6.469 kB / 0.5444 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.6115, allocations: 5.047 kB / 0.5444 GB, free: 15.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.6117, allocations: 133.5 kB / 0.5445 GB, free: 15.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6117, allocations: 2.531 kB / 0.5445 GB, free: 15.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004812/0.6122, allocations: 134.5 kB / 0.5446 GB, free: 15.31 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.001211/0.6134, allocations: 0.9238 MB / 0.5455 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.6136, allocations: 74.84 kB / 0.5456 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.6136, allocations: 0.9688 kB / 0.5456 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.6137, allocations: 37.06 kB / 0.5456 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.6139, allocations: 15.69 kB / 0.5457 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.6162, allocations: 1.798 MB / 0.5474 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.948e-05/0.6163, allocations: 72.31 kB / 0.5475 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004182/0.6167, allocations: 433.9 kB / 0.5479 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.6168, allocations: 51.08 kB / 0.548 GB, free: 13.36 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.6168, allocations: 0 / 0.548 GB, free: 13.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.6448, allocations: 7.045 MB / 0.5548 GB, free: 12.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.47, allocations: 9.375 kB / 0.5548 GB, free: 12.4 MB / 462.1 MB " [Timeout remaining time 648] (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.87782266002614]