Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008692/0.0008692, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009746/0.0009746, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8908/0.8908, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.14e-05, allocations: 6.219 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001833/0.001855, allocations: 1.348 MB / 325.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008106/0.009961, allocations: 10.71 MB / 336.6 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.01, allocations: 7.938 kB / 336.6 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.176e-05/0.01002, allocations: 3.984 kB / 336.6 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.01236, allocations: 1.045 MB / 337.6 MB, free: 2.715 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.01363, allocations: 0.6563 MB / 338.3 MB, free: 2.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.01375, allocations: 71.64 kB / 338.3 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.721e-05/0.01379, allocations: 0 / 338.3 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.773e-05/0.01384, allocations: 31.97 kB / 338.4 MB, free: 1.953 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.894e-05/0.01392, allocations: 35.89 kB / 338.4 MB, free: 1.918 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.01394, allocations: 4 kB / 338.4 MB, free: 1.914 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.01589, allocations: 1.486 MB / 339.9 MB, free: 436 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.01591, allocations: 11.92 kB / 339.9 MB, free: 424 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.01594, allocations: 19.98 kB / 339.9 MB, free: 404 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.01734, allocations: 1.243 MB / 341.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.01734, allocations: 0 / 341.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01735, allocations: 0 / 341.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.01735, allocations: 0 / 341.2 MB, free: 15.15 MB / 314.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.0006386/0.01799, allocations: 492.2 kB / 341.7 MB, free: 14.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.01803, allocations: 15.98 kB / 341.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.229e-05/0.01806, allocations: 34.75 kB / 341.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.074e-05/0.01815, allocations: 8.891 kB / 341.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.971e-05/0.01825, allocations: 121.7 kB / 341.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.01827, allocations: 4.375 kB / 341.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.01828, allocations: 384 / 341.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.01841, allocations: 115.4 kB / 341.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.01842, allocations: 192 / 341.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.01843, allocations: 11.88 kB / 342 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.01844, allocations: 0 / 342 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.742e-05/0.01851, allocations: 27.97 kB / 342 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.01864, allocations: 141.7 kB / 342.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.01884, allocations: 81.12 kB / 342.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.887e-05/0.01888, allocations: 21.78 kB / 342.2 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003792/0.02268, allocations: 1.506 MB / 343.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.0227, allocations: 38.56 kB / 343.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.0227, allocations: 3.938 kB / 343.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002438/0.02295, allocations: 89.52 kB / 343.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.02298, allocations: 77.11 kB / 343.9 MB, free: 12.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.467e-05/0.02306, allocations: 113.8 kB / 344 MB, free: 12.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.02307, allocations: 33.7 kB / 344.1 MB, free: 12.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.078e-05/0.0231, allocations: 80.14 kB / 344.2 MB, free: 11.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.02313, allocations: 27.78 kB / 344.2 MB, free: 11.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.02317, allocations: 21.66 kB / 344.2 MB, free: 11.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.02325, allocations: 314.8 kB / 344.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/0.02328, allocations: 19.92 kB / 344.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.02332, allocations: 25.7 kB / 344.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.786e-05/0.0234, allocations: 41.7 kB / 344.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.0234, allocations: 0 / 344.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001072/0.02351, allocations: 73.56 kB / 344.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.02352, allocations: 4 kB / 344.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.02353, allocations: 3.938 kB / 344.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.02355, allocations: 8 kB / 344.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.176e-05/0.02359, allocations: 8 kB / 344.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.02359, allocations: 3.984 kB / 344.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.265e-05/0.02362, allocations: 0 / 344.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.02363, allocations: 4 kB / 344.7 MB, free: 11.37 MB / 314.7 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 6.583e-05/0.02369, allocations: 113.8 kB / 344.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.02371, allocations: 11.89 kB / 344.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.02389, allocations: 109.4 kB / 344.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.0239, allocations: 4 kB / 344.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.0239, allocations: 0 / 344.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.02391, allocations: 0 / 344.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.698e-05/0.024, allocations: 129.3 kB / 345.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.024, allocations: 4 kB / 345.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.656e-05/0.02403, allocations: 11.98 kB / 345.1 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.02403, allocations: 0 / 345.1 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.02404, allocations: 11.94 kB / 345.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.02404, allocations: 0 / 345.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.02405, allocations: 0 / 345.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.02416, allocations: 109.8 kB / 345.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.02419, allocations: 7.984 kB / 345.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.0242, allocations: 7.938 kB / 345.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.274e-05/0.02424, allocations: 4 kB / 345.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.02428, allocations: 3.984 kB / 345.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.02428, allocations: 4.188 kB / 345.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.991e-05/0.02432, allocations: 95.27 kB / 345.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02432, allocations: 0 / 345.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005635/0.02488, allocations: 334.7 kB / 345.6 MB, free: 10.35 MB / 314.7 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.001089/0.02597, allocations: 1.161 MB / 346.8 MB, free: 9.152 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.0261, allocations: 35.92 kB / 346.8 MB, free: 9.117 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.0261, allocations: 0 / 346.8 MB, free: 9.117 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.319e-05/0.02613, allocations: 15.98 kB / 346.9 MB, free: 9.102 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.02629, allocations: 20.53 kB / 346.9 MB, free: 9.082 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.0274, allocations: 1.448 MB / 348.3 MB, free: 7.535 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.086e-05/0.02744, allocations: 71.27 kB / 348.4 MB, free: 7.445 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.067e-05/0.02752, allocations: 47.88 kB / 348.4 MB, free: 7.398 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.02757, allocations: 24.48 kB / 348.5 MB, free: 7.375 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02757, allocations: 3.938 kB / 348.5 MB, free: 7.371 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.05168, allocations: 11.36 MB / 359.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/7.1, allocations: 10.53 kB / 359.8 MB, free: 12.09 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.721193064935505]