Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001663/0.001663, allocations: 121.4 kB / 18.45 MB, free: 4.477 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.001929/0.001929, allocations: 189.2 kB / 21.39 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 207.6 MB / 231.8 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 51.92 kB / 342.2 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08331/0.0849, allocations: 49.12 MB / 391.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002327/0.08723, allocations: 1.35 MB / 392.7 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3237/0.4109, allocations: 150.8 MB / 0.5308 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.895e-05/0.411, allocations: 0 / 0.5308 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.411, allocations: 7.922 kB / 0.5308 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007798/0.4118, allocations: 243.1 kB / 0.531 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.4131, allocations: 0.6334 MB / 0.5316 GB, free: 9.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.4132, allocations: 55.67 kB / 0.5317 GB, free: 9.539 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.4133, allocations: 9.656 kB / 0.5317 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.772e-05/0.4133, allocations: 31.88 kB / 0.5317 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.635e-05/0.4134, allocations: 27.91 kB / 0.5318 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.4134, allocations: 0 / 0.5318 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.4149, allocations: 0.9017 MB / 0.5326 GB, free: 8.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.4149, allocations: 11.97 kB / 0.5327 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.4149, allocations: 23.81 kB / 0.5327 GB, free: 8.535 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009255/0.4158, allocations: 0.604 MB / 0.5333 GB, free: 7.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4158, allocations: 0 / 0.5333 GB, free: 7.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4158, allocations: 0 / 0.5333 GB, free: 7.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.4159, allocations: 4 kB / 0.5333 GB, free: 7.926 MB / 414.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.0006285/0.4165, allocations: 458.9 kB / 0.5337 GB, free: 7.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4165, allocations: 11.97 kB / 0.5337 GB, free: 7.418 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.438e-05/0.4166, allocations: 34.73 kB / 0.5337 GB, free: 7.375 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.4176, allocations: 92.8 kB / 0.5338 GB, free: 7.285 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.4179, allocations: 220.2 kB / 0.534 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.4179, allocations: 11.94 kB / 0.5341 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.4179, allocations: 3.938 kB / 0.5341 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.4181, allocations: 93.8 kB / 0.5342 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.4181, allocations: 0 / 0.5342 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4181, allocations: 0 / 0.5342 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.4182, allocations: 0 / 0.5342 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.4183, allocations: 43.95 kB / 0.5342 GB, free: 6.871 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.4186, allocations: 214.9 kB / 0.5344 GB, free: 6.609 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.419, allocations: 121.1 kB / 0.5345 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.4191, allocations: 29.77 kB / 0.5345 GB, free: 6.438 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007546/0.4199, allocations: 0.994 MB / 0.5355 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.4199, allocations: 42 kB / 0.5356 GB, free: 5.176 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.4199, allocations: 0 / 0.5356 GB, free: 5.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.000477/0.4204, allocations: 129.5 kB / 0.5357 GB, free: 5.043 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.4205, allocations: 77.11 kB / 0.5358 GB, free: 4.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.4207, allocations: 157.8 kB / 0.5359 GB, free: 4.785 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.4207, allocations: 33.7 kB / 0.5359 GB, free: 4.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.4208, allocations: 80.14 kB / 0.536 GB, free: 4.664 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.4208, allocations: 31.77 kB / 0.536 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.4209, allocations: 31.58 kB / 0.5361 GB, free: 4.598 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.421, allocations: 314.8 kB / 0.5364 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.4211, allocations: 27.97 kB / 0.5364 GB, free: 4.254 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.4212, allocations: 51.42 kB / 0.5364 GB, free: 4.191 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.4214, allocations: 91.62 kB / 0.5365 GB, free: 4.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4214, allocations: 0 / 0.5365 GB, free: 4.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003451/0.4218, allocations: 129.5 kB / 0.5367 GB, free: 3.957 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.4218, allocations: 7.906 kB / 0.5367 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.4218, allocations: 3.938 kB / 0.5367 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.4218, allocations: 4 kB / 0.5367 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.422, allocations: 19.97 kB / 0.5367 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.422, allocations: 4 kB / 0.5367 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.4221, allocations: 11.94 kB / 0.5367 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.4222, allocations: 7.984 kB / 0.5367 GB, free: 3.898 MB / 414.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.872e-05/0.4223, allocations: 121.8 kB / 0.5368 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.4223, allocations: 7.953 kB / 0.5368 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005628/0.4229, allocations: 243.2 kB / 0.5371 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.4229, allocations: 4 kB / 0.5371 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4229, allocations: 0 / 0.5371 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4229, allocations: 4 kB / 0.5371 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.4231, allocations: 218.9 kB / 0.5373 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4231, allocations: 0 / 0.5373 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.4233, allocations: 23.97 kB / 0.5373 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4233, allocations: 0 / 0.5373 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.4233, allocations: 4 kB / 0.5373 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4233, allocations: 0 / 0.5373 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4233, allocations: 0 / 0.5373 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.4237, allocations: 189.4 kB / 0.5375 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.003e-05/0.4238, allocations: 89.12 kB / 0.5376 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.4238, allocations: 0 / 0.5376 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.424, allocations: 7.984 kB / 0.5376 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.424, allocations: 7.984 kB / 0.5376 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.4241, allocations: 4 kB / 0.5376 GB, free: 2.895 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001657/0.4242, allocations: 135.3 kB / 0.5377 GB, free: 2.762 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4242, allocations: 0 / 0.5377 GB, free: 2.762 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005322/0.4248, allocations: 171.5 kB / 0.5379 GB, free: 2.594 MB / 414.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.001396/0.4262, allocations: 0.997 MB / 0.5389 GB, free: 1.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.4264, allocations: 75.88 kB / 0.5389 GB, free: 1.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4264, allocations: 0 / 0.5389 GB, free: 1.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.4266, allocations: 44.03 kB / 0.539 GB, free: 1.449 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.4268, allocations: 12 kB / 0.539 GB, free: 1.438 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.4293, allocations: 1.817 MB / 0.5408 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.4297, allocations: 0.6896 MB / 0.5414 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005485/0.4302, allocations: 440.8 kB / 0.5419 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.4303, allocations: 47.39 kB / 0.5419 GB, free: 14.32 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4303, allocations: 0 / 0.5419 GB, free: 14.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.4626, allocations: 7.635 MB / 0.5494 GB, free: 6.637 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.716/8.179, allocations: 4.062 kB / 0.5494 GB, free: 6.633 MB / 430.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 10.451273357030004]