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.000818/0.000818, allocations: 83.64 kB / 21.43 MB, free: 3.137 MB / 18.57 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.004139/0.004139, allocations: 164.1 kB / 24.7 MB, free: 9.414 MB / 18.57 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 0.8119/0.8119, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 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="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: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.959e-06/1.113e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00147/0.001481, allocations: 1.334 MB / 299.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.2394/0.2408, allocations: 129.2 MB / 429 MB, free: 11.9 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.2409, allocations: 0 / 429 MB, free: 11.9 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.2409, allocations: 0 / 429 MB, free: 11.9 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008062/0.2417, allocations: 254.5 kB / 429.2 MB, free: 11.65 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.2427, allocations: 0.632 MB / 429.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.092e-05/0.2428, allocations: 63.64 kB / 429.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.2429, allocations: 0 / 429.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.667e-05/0.2429, allocations: 35.91 kB / 429.9 MB, free: 10.92 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.516e-05/0.243, allocations: 23.91 kB / 430 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.243, allocations: 4 kB / 430 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007577/0.2438, allocations: 0.7755 MB / 430.8 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.2438, allocations: 4 kB / 430.8 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.2438, allocations: 15.94 kB / 430.8 MB, free: 10.09 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008959/0.2447, allocations: 0.678 MB / 431.4 MB, free: 9.414 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2447, allocations: 0 / 431.4 MB, free: 9.414 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.2447, allocations: 0 / 431.4 MB, free: 9.414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.2447, allocations: 0 / 431.4 MB, free: 9.414 MB / 394.7 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.0004405/0.2451, allocations: 377.3 kB / 431.8 MB, free: 9.016 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2452, allocations: 17.3 kB / 431.8 MB, free: 9 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.851e-05/0.2452, allocations: 38.69 kB / 431.9 MB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005488/0.2458, allocations: 104.8 kB / 432 MB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.2459, allocations: 161.6 kB / 432.1 MB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.2459, allocations: 384 / 432.1 MB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.246, allocations: 8.375 kB / 432.1 MB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.2461, allocations: 99.19 kB / 432.2 MB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2461, allocations: 0 / 432.2 MB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.2461, allocations: 8 kB / 432.2 MB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.2461, allocations: 0 / 432.2 MB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.587e-05/0.2462, allocations: 39.95 kB / 432.3 MB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.2464, allocations: 173.8 kB / 432.5 MB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.2467, allocations: 121.1 kB / 432.6 MB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.173e-05/0.2467, allocations: 37.75 kB / 432.6 MB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.2469, allocations: 98.95 kB / 432.7 MB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.2469, allocations: 34.56 kB / 432.7 MB, free: 7.973 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2469, allocations: 4 kB / 432.7 MB, free: 7.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003182/0.2473, allocations: 133.8 kB / 432.9 MB, free: 7.832 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.2473, allocations: 85.05 kB / 433 MB, free: 7.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.2474, allocations: 154.4 kB / 433.1 MB, free: 7.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.2475, allocations: 29.7 kB / 433.1 MB, free: 7.535 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.2475, allocations: 80.14 kB / 433.2 MB, free: 7.453 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.2475, allocations: 27.78 kB / 433.2 MB, free: 7.426 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.2476, allocations: 37.64 kB / 433.3 MB, free: 7.383 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.014e-05/0.2476, allocations: 318.8 kB / 433.6 MB, free: 7.062 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.834e-05/0.2477, allocations: 27.98 kB / 433.6 MB, free: 7.035 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.2478, allocations: 51.41 kB / 433.7 MB, free: 6.973 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.2479, allocations: 83.33 kB / 433.7 MB, free: 6.879 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2479, allocations: 0 / 433.7 MB, free: 6.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001938/0.2481, allocations: 121.5 kB / 433.9 MB, free: 6.754 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2481, allocations: 8 kB / 433.9 MB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2481, allocations: 1.875 kB / 433.9 MB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2481, allocations: 4.562 kB / 433.9 MB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.052e-05/0.2482, allocations: 35.89 kB / 433.9 MB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2482, allocations: 4 kB / 433.9 MB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.936e-05/0.2483, allocations: 7.953 kB / 433.9 MB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.2483, allocations: 11.92 kB / 433.9 MB, free: 6.684 MB / 394.7 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 6.078e-05/0.2483, allocations: 109.8 kB / 434 MB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.2484, allocations: 11.44 kB / 434.1 MB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004073/0.2488, allocations: 252.1 kB / 434.3 MB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2488, allocations: 7.984 kB / 434.3 MB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2488, allocations: 0 / 434.3 MB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2488, allocations: 0 / 434.3 MB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.2489, allocations: 178.1 kB / 434.5 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2489, allocations: 0 / 434.5 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.249, allocations: 35.84 kB / 434.5 MB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.249, allocations: 4 kB / 434.5 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.249, allocations: 0 / 434.5 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.249, allocations: 0 / 434.5 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.249, allocations: 0 / 434.5 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.2493, allocations: 181.8 kB / 434.7 MB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.2493, allocations: 15.91 kB / 434.7 MB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.2493, allocations: 4 kB / 434.7 MB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.2494, allocations: 4 kB / 434.7 MB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.2494, allocations: 12.05 kB / 434.7 MB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.2494, allocations: 0 / 434.7 MB, free: 5.812 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.932e-05/0.2495, allocations: 131.2 kB / 434.9 MB, free: 5.684 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2495, allocations: 0 / 434.9 MB, free: 5.684 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.2498, allocations: 175.5 kB / 435 MB, free: 5.512 MB / 394.7 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.0009631/0.2508, allocations: 1.027 MB / 436.1 MB, free: 4.457 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.251, allocations: 78.06 kB / 436.1 MB, free: 4.383 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.251, allocations: 0 / 436.1 MB, free: 4.383 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.627e-05/0.251, allocations: 44.09 kB / 436.2 MB, free: 4.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.2512, allocations: 8.875 kB / 436.2 MB, free: 4.332 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.253, allocations: 1.772 MB / 438 MB, free: 2.453 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.098e-05/0.253, allocations: 67.34 kB / 438 MB, free: 2.367 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003411/0.2534, allocations: 439.1 kB / 438.5 MB, free: 1.938 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.2535, allocations: 48.45 kB / 438.5 MB, free: 1.891 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2535, allocations: 3.938 kB / 438.5 MB, free: 1.887 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.2743, allocations: 8.605 MB / 447.1 MB, free: 9.219 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.667/6.942, allocations: 19.78 kB / 447.1 MB, free: 9.199 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/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/jenkins/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: 8.454129472374916]