Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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.001559/0.001559, allocations: 122.2 kB / 18.45 MB, free: 4.457 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.001664/0.001664, allocations: 190.9 kB / 21.39 MB, free: 1.52 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.425/1.425, allocations: 207.6 MB / 231.8 MB, free: 3.98 MB / 174.1 MB " [Timeout remaining time 178] 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.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_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.00168/0.00168, allocations: 56.34 kB / 342.2 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08985/0.09153, allocations: 49.12 MB / 391.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002418/0.09395, allocations: 1.354 MB / 392.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01412/0.1081, allocations: 12.14 MB / 404.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.1081, allocations: 0 / 404.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.1081, allocations: 11.92 kB / 404.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.1112, allocations: 1.046 MB / 405.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.1128, allocations: 0.6373 MB / 406.6 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.113, allocations: 63.72 kB / 406.6 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.407e-05/0.113, allocations: 4 kB / 406.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.188e-05/0.1131, allocations: 31.91 kB / 406.7 MB, free: 9.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.501e-05/0.1131, allocations: 35.83 kB / 406.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1131, allocations: 4 kB / 406.7 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.1163, allocations: 1.631 MB / 408.3 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.1163, allocations: 15.92 kB / 408.3 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.1163, allocations: 23.92 kB / 408.4 MB, free: 7.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002215/0.1186, allocations: 1.064 MB / 409.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1186, allocations: 0 / 409.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1186, allocations: 0 / 409.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1186, allocations: 4 kB / 409.4 MB, free: 6.594 MB / 334.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.0007722/0.1193, allocations: 0.5482 MB / 410 MB, free: 5.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1194, allocations: 8.031 kB / 410 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.1194, allocations: 38.73 kB / 410 MB, free: 5.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.1195, allocations: 16.83 kB / 410 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.1197, allocations: 184.2 kB / 410.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1197, allocations: 384 / 410.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1197, allocations: 4.375 kB / 410.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.1199, allocations: 83.2 kB / 410.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1199, allocations: 0 / 410.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1199, allocations: 4 kB / 410.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1199, allocations: 0 / 410.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.12, allocations: 19.92 kB / 410.3 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.1202, allocations: 178.6 kB / 410.5 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.1205, allocations: 85.12 kB / 410.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.284e-05/0.1206, allocations: 21.78 kB / 410.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006685/0.1273, allocations: 3.294 MB / 413.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.1273, allocations: 38.56 kB / 413.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1273, allocations: 0 / 413.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003358/0.1276, allocations: 85.55 kB / 414 MB, free: 1.355 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.1277, allocations: 81.11 kB / 414.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.1278, allocations: 113.8 kB / 414.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.1278, allocations: 25.7 kB / 414.2 MB, free: 1.105 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.1279, allocations: 84.14 kB / 414.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.1279, allocations: 15.84 kB / 414.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.1279, allocations: 25.7 kB / 414.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1281, allocations: 310.8 kB / 414.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.564e-05/0.1281, allocations: 19.98 kB / 414.7 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.98e-05/0.1282, allocations: 25.7 kB / 414.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.1283, allocations: 42 kB / 414.8 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1283, allocations: 0 / 414.8 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001658/0.1285, allocations: 77.5 kB / 414.8 MB, free: 492 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1285, allocations: 4 kB / 414.8 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1285, allocations: 4 kB / 414.8 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1285, allocations: 4 kB / 414.8 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.1286, allocations: 11.94 kB / 414.9 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1286, allocations: 0 / 414.9 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.1286, allocations: 7.984 kB / 414.9 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1286, allocations: 0 / 414.9 MB, free: 460 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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.307e-05/0.1287, allocations: 113.8 kB / 415 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.1287, allocations: 11.89 kB / 415 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.129, allocations: 109.3 kB / 415.1 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.129, allocations: 4 kB / 415.1 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.129, allocations: 0 / 415.1 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.129, allocations: 0 / 415.1 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.1292, allocations: 165.6 kB / 415.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1292, allocations: 7.938 kB / 415.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.1292, allocations: 15.98 kB / 415.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1292, allocations: 4 kB / 415.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1292, allocations: 0 / 415.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.1292, allocations: 12.06 kB / 415.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1292, allocations: 0 / 415.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.1294, allocations: 101.9 kB / 415.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-05/0.1295, allocations: 89.03 kB / 415.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.1295, allocations: 4 kB / 415.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.505e-05/0.1296, allocations: 4 kB / 415.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.1296, allocations: 11.98 kB / 415.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.1297, allocations: 4 kB / 415.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.64e-05/0.1297, allocations: 95.56 kB / 415.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1297, allocations: 0 / 415.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008118/0.1305, allocations: 326.8 kB / 415.9 MB, free: 15.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001511/0.132, allocations: 1.119 MB / 417 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.1322, allocations: 31.97 kB / 417.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1322, allocations: 4 kB / 417.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.09e-05/0.1323, allocations: 19.94 kB / 417.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.1325, allocations: 24.02 kB / 417.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.1342, allocations: 1.462 MB / 418.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1345, allocations: 0.6844 MB / 419.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.1346, allocations: 48.11 kB / 419.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.1347, allocations: 23.42 kB / 419.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1347, allocations: 0 / 419.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.1695, allocations: 10.54 MB / 429.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.279, allocations: 11.91 kB / 429.9 MB, free: 1.098 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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.65287579037249]