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.001311/0.001311, allocations: 110 kB / 20.43 MB, free: 1.453 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.001542/0.001542, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.442/1.442, allocations: 230.5 MB / 257.4 MB, free: 7.977 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.91 kB / 377.8 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2238, allocations: 53.4 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002329/0.2262, allocations: 1.382 MB / 432.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02903/0.2552, allocations: 23.82 MB / 456.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.615e-05/0.2552, allocations: 0 / 456.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.2554, allocations: 11.92 kB / 456.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01447/0.2698, allocations: 6.022 MB / 462.4 MB, free: 7.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008285/0.2707, allocations: 366.7 kB / 462.8 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.2708, allocations: 79.62 kB / 462.8 MB, free: 6.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.2708, allocations: 4 kB / 462.9 MB, free: 6.914 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.716e-05/0.2709, allocations: 31.91 kB / 462.9 MB, free: 6.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.802e-05/0.271, allocations: 43.83 kB / 462.9 MB, free: 6.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.271, allocations: 0 / 462.9 MB, free: 6.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0159/0.2869, allocations: 9.057 MB / 472 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.2869, allocations: 11.98 kB / 472 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.287, allocations: 31.88 kB / 472 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008555/0.2956, allocations: 4.397 MB / 476.4 MB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2956, allocations: 0 / 476.4 MB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2956, allocations: 0 / 476.4 MB, free: 9.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.2956, allocations: 0 / 476.4 MB, free: 9.324 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.002138/0.2977, allocations: 0.8719 MB / 477.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.2977, allocations: 8.031 kB / 477.3 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.2978, allocations: 30.75 kB / 477.3 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.2978, allocations: 16.81 kB / 477.3 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.298, allocations: 141.8 kB / 477.5 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.298, allocations: 11.94 kB / 477.5 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.298, allocations: 3.984 kB / 477.5 MB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.2982, allocations: 71.39 kB / 477.6 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.2982, allocations: 0 / 477.6 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.2982, allocations: 3.984 kB / 477.6 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2982, allocations: 0 / 477.6 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.2983, allocations: 35.92 kB / 477.6 MB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.2986, allocations: 165.6 kB / 477.8 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.2988, allocations: 93.11 kB / 477.9 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.557e-05/0.2989, allocations: 29.77 kB / 477.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.217e-05/0.299, allocations: 12 kB / 477.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.299, allocations: 38.56 kB / 477.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.299, allocations: 0 / 477.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003024/0.2993, allocations: 97.55 kB / 478 MB, free: 7.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.2994, allocations: 81.11 kB / 478.1 MB, free: 7.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.2995, allocations: 141.8 kB / 478.3 MB, free: 7.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.2995, allocations: 29.7 kB / 478.3 MB, free: 7.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.2996, allocations: 84.14 kB / 478.4 MB, free: 7.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.2996, allocations: 23.8 kB / 478.4 MB, free: 7.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.2996, allocations: 21.7 kB / 478.4 MB, free: 7.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2998, allocations: 322.8 kB / 478.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.967e-05/0.2998, allocations: 15.98 kB / 478.7 MB, free: 6.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.581e-05/0.2999, allocations: 37.64 kB / 478.8 MB, free: 6.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.3, allocations: 49.7 kB / 478.8 MB, free: 6.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3, allocations: 0 / 478.8 MB, free: 6.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001862/0.3002, allocations: 85.97 kB / 478.9 MB, free: 6.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3002, allocations: 6.5 kB / 478.9 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3002, allocations: 0 / 478.9 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3002, allocations: 96 / 478.9 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.476e-05/0.3003, allocations: 15.98 kB / 478.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3003, allocations: 0 / 478.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/0.3003, allocations: 3.953 kB / 478.9 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.3004, allocations: 11.98 kB / 478.9 MB, free: 6.562 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.876e-05/0.3004, allocations: 117.8 kB / 479.1 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.3005, allocations: 0 / 479.1 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.3007, allocations: 105.5 kB / 479.2 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.3007, allocations: 3.984 kB / 479.2 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3007, allocations: 0 / 479.2 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3007, allocations: 0 / 479.2 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.3009, allocations: 160.5 kB / 479.3 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3009, allocations: 8 kB / 479.3 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.3009, allocations: 15.92 kB / 479.4 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3009, allocations: 0 / 479.4 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.3009, allocations: 0 / 479.4 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3009, allocations: 4 kB / 479.4 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3009, allocations: 0 / 479.4 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.3011, allocations: 113.9 kB / 479.5 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.3012, allocations: 11.94 kB / 479.5 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.3012, allocations: 0 / 479.5 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.3013, allocations: 8 kB / 479.5 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.3013, allocations: 11.92 kB / 479.5 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.3013, allocations: 192 / 479.5 MB, free: 5.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.766e-05/0.3014, allocations: 119.5 kB / 479.6 MB, free: 5.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3014, allocations: 4 kB / 479.6 MB, free: 5.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002269/0.3037, allocations: 0.9508 MB / 480.6 MB, free: 4.863 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.004647/0.3083, allocations: 1.879 MB / 482.4 MB, free: 2.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.3085, allocations: 47.91 kB / 482.5 MB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3085, allocations: 4 kB / 482.5 MB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.449e-05/0.3086, allocations: 32.11 kB / 482.5 MB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.3088, allocations: 14.94 kB / 482.5 MB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.3114, allocations: 1.804 MB / 484.3 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.3117, allocations: 0.6885 MB / 485 MB, free: 244 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.08e-05/0.3118, allocations: 7.984 kB / 485 MB, free: 236 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.3118, allocations: 23.42 kB / 485.1 MB, free: 212 kB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3118, allocations: 0 / 485.1 MB, free: 212 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06755/0.3794, allocations: 29.56 MB / 0.5026 GB, free: 2.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.27, allocations: 3.984 kB / 0.5026 GB, free: 2.711 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: 20.00810430198908]