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.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.001231/0.001231, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.001403/0.001403, allocations: 205.6 kB / 22.12 MB, free: 0.9297 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.348/1.348, allocations: 207.6 MB / 232.5 MB, free: 3.879 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.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_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 47.94 kB / 343 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08683/0.08851, allocations: 49.13 MB / 392.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002591/0.0911, allocations: 1.357 MB / 393.5 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3251/0.4162, allocations: 150.8 MB / 0.5315 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.4162, allocations: 0 / 0.5315 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.4163, allocations: 0 / 0.5315 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009314/0.4172, allocations: 247.5 kB / 0.5318 GB, free: 9.965 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.4186, allocations: 0.637 MB / 0.5324 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.895e-05/0.4187, allocations: 51.72 kB / 0.5324 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.317e-05/0.4188, allocations: 4 kB / 0.5324 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.4188, allocations: 27.91 kB / 0.5325 GB, free: 9.461 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.099e-05/0.4189, allocations: 31.84 kB / 0.5325 GB, free: 9.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.4189, allocations: 4 kB / 0.5325 GB, free: 9.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.4203, allocations: 0.9007 MB / 0.5334 GB, free: 8.523 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.4203, allocations: 11.92 kB / 0.5334 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.4204, allocations: 23.92 kB / 0.5334 GB, free: 8.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008527/0.4212, allocations: 0.6 MB / 0.534 GB, free: 7.887 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4212, allocations: 3.984 kB / 0.534 GB, free: 7.883 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4212, allocations: 0 / 0.534 GB, free: 7.883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.4212, allocations: 0 / 0.534 GB, free: 7.883 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.0006068/0.4218, allocations: 458.8 kB / 0.5344 GB, free: 7.387 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.4219, allocations: 12.03 kB / 0.5344 GB, free: 7.375 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.47e-05/0.4219, allocations: 4.188 kB / 0.5345 GB, free: 7.371 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.765e-05/0.4219, allocations: 31.78 kB / 0.5345 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.4229, allocations: 92.8 kB / 0.5346 GB, free: 7.242 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.4233, allocations: 229.6 kB / 0.5348 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.4233, allocations: 4 kB / 0.5348 GB, free: 6.977 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.4233, allocations: 4 kB / 0.5348 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.4235, allocations: 95.27 kB / 0.5349 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4235, allocations: 0 / 0.5349 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.4235, allocations: 0 / 0.5349 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4235, allocations: 3.984 kB / 0.5349 GB, free: 6.863 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.4237, allocations: 43.95 kB / 0.5349 GB, free: 6.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.424, allocations: 210.9 kB / 0.5351 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.4244, allocations: 121.8 kB / 0.5353 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.4246, allocations: 33.75 kB / 0.5353 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007401/0.4253, allocations: 0.9901 MB / 0.5362 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.4253, allocations: 38.5 kB / 0.5363 GB, free: 5.129 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.4253, allocations: 4 kB / 0.5363 GB, free: 5.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005092/0.4258, allocations: 129.6 kB / 0.5364 GB, free: 4.992 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.4259, allocations: 81.05 kB / 0.5365 GB, free: 4.895 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.4261, allocations: 149.8 kB / 0.5366 GB, free: 4.738 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.4261, allocations: 32.8 kB / 0.5367 GB, free: 4.703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.4263, allocations: 92.12 kB / 0.5368 GB, free: 4.609 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.4263, allocations: 19.8 kB / 0.5368 GB, free: 4.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/0.4264, allocations: 33.69 kB / 0.5368 GB, free: 4.551 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4265, allocations: 318.8 kB / 0.5371 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.4266, allocations: 28.72 kB / 0.5371 GB, free: 4.203 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.4267, allocations: 47.41 kB / 0.5372 GB, free: 4.145 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.427, allocations: 91.33 kB / 0.5373 GB, free: 4.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.427, allocations: 0 / 0.5373 GB, free: 4.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003624/0.4273, allocations: 121.5 kB / 0.5374 GB, free: 3.918 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.4274, allocations: 7.906 kB / 0.5374 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4274, allocations: 4.062 kB / 0.5374 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4274, allocations: 7.938 kB / 0.5374 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.4275, allocations: 27.53 kB / 0.5374 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.4275, allocations: 5.016 kB / 0.5374 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.4277, allocations: 11.98 kB / 0.5374 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.4277, allocations: 4 kB / 0.5374 GB, free: 3.855 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 9.004e-05/0.4278, allocations: 117.8 kB / 0.5376 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.4279, allocations: 7.953 kB / 0.5376 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005859/0.4284, allocations: 245.7 kB / 0.5378 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4285, allocations: 0 / 0.5378 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4285, allocations: 4 kB / 0.5378 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.4285, allocations: 0 / 0.5378 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.4287, allocations: 218.9 kB / 0.538 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4287, allocations: 4 kB / 0.538 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.4289, allocations: 23.97 kB / 0.538 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4289, allocations: 0 / 0.538 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.4289, allocations: 4 kB / 0.538 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.4289, allocations: 3.984 kB / 0.5381 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4289, allocations: 0 / 0.5381 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/0.4293, allocations: 186.2 kB / 0.5382 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.142e-05/0.4294, allocations: 93.08 kB / 0.5383 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.4294, allocations: 0 / 0.5383 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.4296, allocations: 4 kB / 0.5383 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.4297, allocations: 11.97 kB / 0.5383 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.4297, allocations: 4 kB / 0.5383 GB, free: 2.844 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001825/0.4299, allocations: 136.9 kB / 0.5385 GB, free: 2.711 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4299, allocations: 0 / 0.5385 GB, free: 2.711 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005191/0.4304, allocations: 171.5 kB / 0.5386 GB, free: 2.543 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.001448/0.4318, allocations: 0.9917 MB / 0.5396 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002832/0.4321, allocations: 79.86 kB / 0.5397 GB, free: 1.445 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4321, allocations: 0 / 0.5397 GB, free: 1.445 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.4322, allocations: 35.92 kB / 0.5397 GB, free: 1.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.4324, allocations: 16.11 kB / 0.5397 GB, free: 1.395 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.4351, allocations: 1.813 MB / 0.5415 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.4354, allocations: 0.6896 MB / 0.5422 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005472/0.436, allocations: 435.1 kB / 0.5426 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.4361, allocations: 55.31 kB / 0.5426 GB, free: 14.28 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4361, allocations: 3.938 kB / 0.5426 GB, free: 14.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.4639, allocations: 7.674 MB / 0.5501 GB, free: 6.547 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.387, allocations: 8.047 kB / 0.5501 GB, free: 6.539 MB / 430.1 MB " [Timeout remaining time 651] (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/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/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.721622581942938]