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.001622/0.001622, 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.001372/0.001372, allocations: 216.9 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.381/1.381, allocations: 230.5 MB / 258.2 MB, free: 8.031 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_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 59.89 kB / 378.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2297, allocations: 53.41 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002333/0.232, allocations: 1.379 MB / 433.3 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01332/0.2453, allocations: 12.2 MB / 445.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.2453, allocations: 4 kB / 445.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.2454, allocations: 11.86 kB / 445.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002642/0.248, allocations: 1.046 MB / 446.6 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.2494, allocations: 0.633 MB / 447.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.2495, allocations: 71.64 kB / 447.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.483e-05/0.2496, allocations: 4 kB / 447.3 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.45e-05/0.2496, allocations: 27.86 kB / 447.3 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.451e-05/0.2497, allocations: 39.89 kB / 447.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.2497, allocations: 4 kB / 447.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002836/0.2526, allocations: 1.647 MB / 449 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.2526, allocations: 11.98 kB / 449 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.2526, allocations: 23.86 kB / 449.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.2544, allocations: 1.076 MB / 450.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2544, allocations: 0 / 450.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2544, allocations: 4 kB / 450.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.2544, allocations: 0 / 450.1 MB, free: 4.438 MB / 350.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.0007133/0.2551, allocations: 488.2 kB / 450.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2552, allocations: 12.03 kB / 450.6 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.082e-05/0.2552, allocations: 192 / 450.6 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.2552, allocations: 34.73 kB / 450.7 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.2553, allocations: 16.89 kB / 450.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.2555, allocations: 118.5 kB / 450.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2555, allocations: 8.375 kB / 450.8 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.2555, allocations: 8.125 kB / 450.8 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.2556, allocations: 63.39 kB / 450.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2557, allocations: 0 / 450.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.2557, allocations: 4 kB / 450.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2557, allocations: 0 / 450.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.2558, allocations: 23.91 kB / 450.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.256, allocations: 157.6 kB / 451.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.2562, allocations: 73.19 kB / 451.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.5e-05/0.2563, allocations: 33.59 kB / 451.2 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005437/0.2617, allocations: 1.502 MB / 452.7 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.2618, allocations: 34.56 kB / 452.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.2618, allocations: 0 / 452.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002902/0.2621, allocations: 81.59 kB / 452.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.2621, allocations: 85.11 kB / 452.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.2622, allocations: 113.8 kB / 453 MB, free: 1.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2622, allocations: 25.7 kB / 453 MB, free: 1.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.2623, allocations: 80.14 kB / 453.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.2623, allocations: 23.8 kB / 453.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.2623, allocations: 21.7 kB / 453.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.2625, allocations: 314.8 kB / 453.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.074e-05/0.2625, allocations: 11.98 kB / 453.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.917e-05/0.2626, allocations: 33.7 kB / 453.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.2627, allocations: 46 kB / 453.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2627, allocations: 0 / 453.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001721/0.2629, allocations: 73.56 kB / 453.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2629, allocations: 7.938 kB / 453.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2629, allocations: 3.938 kB / 453.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2629, allocations: 4 kB / 453.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.263, allocations: 12 kB / 453.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.263, allocations: 0 / 453.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.263, allocations: 3.984 kB / 453.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.263, allocations: 4 kB / 453.6 MB, free: 0.7227 MB / 350.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.487e-05/0.2631, allocations: 113.8 kB / 453.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.2631, allocations: 11.89 kB / 453.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.2634, allocations: 109.8 kB / 453.9 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2634, allocations: 3.938 kB / 453.9 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2634, allocations: 4 kB / 453.9 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2634, allocations: 0 / 453.9 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.2635, allocations: 144.7 kB / 454 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2635, allocations: 0 / 454 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.964e-05/0.2636, allocations: 15.98 kB / 454 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2636, allocations: 0 / 454 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.2636, allocations: 4 kB / 454 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2636, allocations: 0 / 454 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2636, allocations: 4 kB / 454 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.2638, allocations: 105.8 kB / 454.1 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.2638, allocations: 11.92 kB / 454.1 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.2639, allocations: 0 / 454.1 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.2639, allocations: 12.19 kB / 454.2 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.264, allocations: 7.984 kB / 454.2 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.264, allocations: 4 kB / 454.2 MB, free: 104 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.95e-05/0.264, allocations: 95.27 kB / 454.3 MB, free: 8 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.264, allocations: 0 / 454.3 MB, free: 8 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000748/0.2648, allocations: 326.8 kB / 454.6 MB, free: 15.69 MB / 366.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.001467/0.2663, allocations: 1.112 MB / 455.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.2664, allocations: 31.97 kB / 455.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2664, allocations: 0 / 455.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.828e-05/0.2665, allocations: 31.92 kB / 455.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.2667, allocations: 11.94 kB / 455.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.2684, allocations: 1.466 MB / 457.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.2686, allocations: 0.6875 MB / 457.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.2688, allocations: 48.11 kB / 458 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.2688, allocations: 23.42 kB / 458 MB, free: 12.12 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2688, allocations: 0 / 458 MB, free: 12.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.3007, allocations: 10.69 MB / 468.7 MB, free: 1.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.31, allocations: 12.03 kB / 468.7 MB, free: 1.531 MB / 366.1 MB " [Timeout remaining time 649] (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/jenkins1/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/jenkins1/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: 18.268405084963888]