Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.001351/0.001351, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 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.001591/0.001591, allocations: 216.3 kB / 24.53 MB, free: 4.012 MB / 14.72 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 1.365/1.365, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 59.91 kB / 378.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2326, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002435/0.2351, allocations: 1.371 MB / 433.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0295/0.2646, allocations: 23.82 MB / 457.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.2646, allocations: 0 / 457.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.2647, allocations: 7.922 kB / 457.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01479/0.2795, allocations: 6.04 MB / 463.2 MB, free: 7.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007949/0.2803, allocations: 362.7 kB / 463.6 MB, free: 7.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.2804, allocations: 83.62 kB / 463.6 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.2805, allocations: 0 / 463.6 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.622e-05/0.2805, allocations: 31.91 kB / 463.7 MB, free: 6.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.564e-05/0.2806, allocations: 43.83 kB / 463.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.2807, allocations: 4 kB / 463.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01599/0.2966, allocations: 9.053 MB / 472.8 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.2967, allocations: 11.98 kB / 472.8 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.2968, allocations: 23.88 kB / 472.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.3079, allocations: 4.401 MB / 477.2 MB, free: 9.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3079, allocations: 0 / 477.2 MB, free: 9.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3079, allocations: 4 kB / 477.2 MB, free: 9.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.308, allocations: 0 / 477.2 MB, free: 9.336 MB / 382.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.002562/0.3105, allocations: 0.868 MB / 478.1 MB, free: 8.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3106, allocations: 8.031 kB / 478.1 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.011e-05/0.3106, allocations: 8.172 kB / 478.1 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.936e-05/0.3106, allocations: 38.62 kB / 478.1 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.968e-05/0.3107, allocations: 12.88 kB / 478.1 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.3109, allocations: 141.6 kB / 478.3 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3109, allocations: 0 / 478.3 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.3109, allocations: 4 kB / 478.3 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.3111, allocations: 71.39 kB / 478.4 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3111, allocations: 4 kB / 478.4 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3111, allocations: 3.984 kB / 478.4 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3111, allocations: 0 / 478.4 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3113, allocations: 35.92 kB / 478.4 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.3115, allocations: 165.6 kB / 478.6 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.3118, allocations: 105.1 kB / 478.7 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.051e-05/0.3119, allocations: 25.7 kB / 478.7 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.116e-05/0.3119, allocations: 8 kB / 478.7 MB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.3119, allocations: 34.56 kB / 478.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3119, allocations: 4 kB / 478.7 MB, free: 7.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003299/0.3123, allocations: 101.5 kB / 478.8 MB, free: 7.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.3124, allocations: 81.09 kB / 478.9 MB, free: 7.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.3125, allocations: 141.8 kB / 479.1 MB, free: 7.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.3125, allocations: 25.7 kB / 479.1 MB, free: 7.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.3126, allocations: 84.14 kB / 479.2 MB, free: 7.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.3126, allocations: 19.8 kB / 479.2 MB, free: 7.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.3127, allocations: 25.7 kB / 479.2 MB, free: 7.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3128, allocations: 322.8 kB / 479.5 MB, free: 6.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.381e-05/0.3129, allocations: 19.92 kB / 479.5 MB, free: 6.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-05/0.3129, allocations: 33.7 kB / 479.6 MB, free: 6.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.3131, allocations: 49.7 kB / 479.6 MB, free: 6.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3131, allocations: 0 / 479.6 MB, free: 6.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002027/0.3133, allocations: 81.59 kB / 479.7 MB, free: 6.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3133, allocations: 8 kB / 479.7 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3133, allocations: 0 / 479.7 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3133, allocations: 0 / 479.7 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.3134, allocations: 8 kB / 479.7 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3134, allocations: 4 kB / 479.7 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.3134, allocations: 7.953 kB / 479.7 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.3134, allocations: 15.86 kB / 479.7 MB, free: 6.566 MB / 382.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.941e-05/0.3135, allocations: 105.8 kB / 479.8 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.3136, allocations: 8 kB / 479.9 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.3138, allocations: 106.1 kB / 480 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.3138, allocations: 0 / 480 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3138, allocations: 0 / 480 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3138, allocations: 0 / 480 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.314, allocations: 160.5 kB / 480.1 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.314, allocations: 4.312 kB / 480.1 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/0.3141, allocations: 15.98 kB / 480.1 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3141, allocations: 0 / 480.1 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3141, allocations: 4 kB / 480.1 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3141, allocations: 3.938 kB / 480.1 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3141, allocations: 4 kB / 480.1 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.3143, allocations: 109.9 kB / 480.3 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.3144, allocations: 11.94 kB / 480.3 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.3144, allocations: 4 kB / 480.3 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.3145, allocations: 8.188 kB / 480.3 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.3145, allocations: 7.922 kB / 480.3 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.3145, allocations: 11.94 kB / 480.3 MB, free: 5.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.855e-05/0.3146, allocations: 111.2 kB / 480.4 MB, free: 5.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3146, allocations: 0 / 480.4 MB, free: 5.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00272/0.3173, allocations: 0.9547 MB / 481.4 MB, free: 4.871 MB / 382.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.005894/0.3232, allocations: 1.878 MB / 483.2 MB, free: 2.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.3235, allocations: 47.91 kB / 483.3 MB, free: 2.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3235, allocations: 0 / 483.3 MB, free: 2.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.3236, allocations: 27.92 kB / 483.3 MB, free: 2.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.3239, allocations: 26.69 kB / 483.3 MB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.3274, allocations: 1.789 MB / 485.1 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.3278, allocations: 0.6924 MB / 485.8 MB, free: 260 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.322e-05/0.3278, allocations: 16.34 kB / 485.8 MB, free: 244 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.3279, allocations: 19.42 kB / 485.9 MB, free: 224 kB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3279, allocations: 4 kB / 485.9 MB, free: 220 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06254/0.3905, allocations: 29.58 MB / 0.5034 GB, free: 2.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.1, allocations: 6.828 kB / 0.5034 GB, free: 2.707 MB / 414.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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: 22.34734258102253]