Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.001127/0.001127, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003946/0.003946, allocations: 166.4 kB / 24.7 MB, free: 9.43 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.8583/0.8583, allocations: 158.6 MB / 186.5 MB, free: 3.039 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.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.669e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001724/0.001741, allocations: 1.338 MB / 299.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1245/0.1262, allocations: 6.499 MB / 306.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.1263, allocations: 0 / 306.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.1263, allocations: 5.25 kB / 306.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.1273, allocations: 302.4 kB / 306.6 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.1289, allocations: 0.7233 MB / 307.3 MB, free: 11.51 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.129, allocations: 54.8 kB / 307.3 MB, free: 11.49 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.129, allocations: 7.328 kB / 307.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.1292, allocations: 46.28 kB / 307.4 MB, free: 11.47 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006684/0.1298, allocations: 360.3 kB / 307.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.1298, allocations: 6.906 kB / 307.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000982/0.1308, allocations: 0.7257 MB / 308.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.1308, allocations: 6.719 kB / 308.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.1309, allocations: 19.73 kB / 308.5 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.132, allocations: 0.6185 MB / 309.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.132, allocations: 1.219 kB / 309.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.132, allocations: 0 / 309.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.132, allocations: 0 / 309.1 MB, free: 10.95 MB / 282.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.0006997/0.1327, allocations: 397.6 kB / 309.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.1328, allocations: 17.14 kB / 309.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.1328, allocations: 33.52 kB / 309.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.1329, allocations: 7.734 kB / 309.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.1331, allocations: 120.5 kB / 309.7 MB, free: 10.42 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.1331, allocations: 7.438 kB / 309.7 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.1331, allocations: 4.938 kB / 309.7 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1332, allocations: 62.08 kB / 309.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1332, allocations: 1.812 kB / 309.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1332, allocations: 7.938 kB / 309.8 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.1333, allocations: 2.266 kB / 309.8 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.598e-05/0.1333, allocations: 18.42 kB / 309.8 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.1335, allocations: 144.7 kB / 309.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.1337, allocations: 82.98 kB / 310 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/0.1338, allocations: 20.44 kB / 310 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003417/0.1341, allocations: 124.9 kB / 310.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.1341, allocations: 37.45 kB / 310.2 MB, free: 10.03 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.1341, allocations: 0 / 310.2 MB, free: 10.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003001/0.1344, allocations: 84.84 kB / 310.3 MB, free: 9.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.1345, allocations: 83 kB / 310.4 MB, free: 9.883 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.831e-05/0.1346, allocations: 113.7 kB / 310.5 MB, free: 9.777 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.1346, allocations: 26.86 kB / 310.5 MB, free: 9.746 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/0.1346, allocations: 85.81 kB / 310.6 MB, free: 9.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.1346, allocations: 25.09 kB / 310.6 MB, free: 9.641 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.1347, allocations: 21.59 kB / 310.6 MB, free: 9.621 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.1347, allocations: 318.7 kB / 310.9 MB, free: 9.305 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.513e-05/0.1348, allocations: 15.05 kB / 310.9 MB, free: 9.301 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.686e-05/0.1348, allocations: 36.28 kB / 311 MB, free: 9.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.042e-05/0.1349, allocations: 69.34 kB / 311 MB, free: 9.215 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1349, allocations: 1.188 kB / 311.1 MB, free: 9.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001437/0.135, allocations: 86.58 kB / 311.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1351, allocations: 5.531 kB / 311.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.1351, allocations: 2.188 kB / 311.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.1351, allocations: 5 kB / 311.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.944e-05/0.1352, allocations: 19.5 kB / 311.2 MB, free: 9.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1352, allocations: 5.875 kB / 311.2 MB, free: 9.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.1352, allocations: 2.75 kB / 311.2 MB, free: 9.156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.1352, allocations: 11.09 kB / 311.2 MB, free: 9.152 MB / 282.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.484e-05/0.1353, allocations: 109.7 kB / 311.3 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.1353, allocations: 7.031 kB / 311.3 MB, free: 9.035 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.1357, allocations: 128.2 kB / 311.4 MB, free: 8.969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.1357, allocations: 6.844 kB / 311.4 MB, free: 8.965 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.1357, allocations: 4 kB / 311.4 MB, free: 8.961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1357, allocations: 1.812 kB / 311.4 MB, free: 8.961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.402e-05/0.1358, allocations: 145.3 kB / 311.6 MB, free: 8.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.1358, allocations: 5.781 kB / 311.6 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.403e-05/0.1359, allocations: 11.58 kB / 311.6 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1359, allocations: 1.703 kB / 311.6 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.1359, allocations: 1.547 kB / 311.6 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1359, allocations: 4.969 kB / 311.6 MB, free: 8.785 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1359, allocations: 1.594 kB / 311.6 MB, free: 8.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.1361, allocations: 134.3 kB / 311.7 MB, free: 8.695 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.1361, allocations: 19.34 kB / 311.8 MB, free: 8.684 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1361, allocations: 5.25 kB / 311.8 MB, free: 8.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.011e-05/0.1361, allocations: 6.656 kB / 311.8 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.1362, allocations: 5.828 kB / 311.8 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.1362, allocations: 7.188 kB / 311.8 MB, free: 8.672 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.584e-05/0.1362, allocations: 88.27 kB / 311.9 MB, free: 8.598 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1362, allocations: 3.938 kB / 311.9 MB, free: 8.594 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004192/0.1366, allocations: 175.7 kB / 312 MB, free: 8.547 MB / 282.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 (7): * Single equations (assignments): 6 * 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.0009089/0.1375, allocations: 0.976 MB / 313 MB, free: 7.832 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.1377, allocations: 54.03 kB / 313.1 MB, free: 7.816 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1377, allocations: 1.781 kB / 313.1 MB, free: 7.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.608e-05/0.1377, allocations: 25.17 kB / 313.1 MB, free: 7.812 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.1379, allocations: 11.58 kB / 313.1 MB, free: 7.809 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009616/0.1389, allocations: 1.479 MB / 314.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.27e-05/0.1389, allocations: 74.61 kB / 314.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.573e-05/0.139, allocations: 33.56 kB / 314.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.139, allocations: 26.7 kB / 314.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.139, allocations: 0 / 314.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.1608, allocations: 5.946 MB / 320.7 MB, free: 3.953 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.578/6.738, allocations: 8.891 kB / 320.7 MB, free: 3.945 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.29738044552505]