Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 207.6 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.4/1.4, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 47.92 kB / 377.7 MB, free: 3.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2742, allocations: 53.37 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02943/0.3036, allocations: 24.55 MB / 455.6 MB, free: 14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005375/0.309, allocations: 3.778 MB / 459.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003005/0.3093, allocations: 4 kB / 459.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008235/0.3101, allocations: 194.7 kB / 459.6 MB, free: 10 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007647/0.3109, allocations: 342.1 kB / 459.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004817/0.3157, allocations: 1.466 MB / 461.4 MB, free: 8.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.3171, allocations: 0.899 MB / 462.3 MB, free: 7.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.3174, allocations: 76.89 kB / 462.4 MB, free: 7.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007585/0.325, allocations: 4.131 MB / 466.5 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004818/0.3254, allocations: 294.8 kB / 466.8 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.142e-05/0.3255, allocations: 35.94 kB / 466.8 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.3269, allocations: 0.7298 MB / 467.6 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.327, allocations: 95.72 kB / 467.7 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.3273, allocations: 163.4 kB / 467.8 MB, free: 1.785 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.3285, allocations: 0.8531 MB / 468.7 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3285, allocations: 0 / 468.7 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3285, allocations: 4 kB / 468.7 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.3285, allocations: 0 / 468.7 MB, free: 0.9258 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009727/0.3295, allocations: 0.5945 MB / 469.3 MB, free: 308 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3295, allocations: 8.031 kB / 469.3 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.973e-05/0.3296, allocations: 62.73 kB / 469.3 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004313/0.33, allocations: 56.72 kB / 469.4 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/0.3305, allocations: 234 kB / 469.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.3306, allocations: 24.97 kB / 469.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.3306, allocations: 24.38 kB / 469.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006502/0.3313, allocations: 493.8 kB / 470.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3313, allocations: 4 kB / 470.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.3313, allocations: 12 kB / 470.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.3313, allocations: 8 kB / 470.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.3317, allocations: 205.8 kB / 470.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.3445, allocations: 4.148 MB / 474.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.3449, allocations: 168.6 kB / 474.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.345, allocations: 84.84 kB / 474.8 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01079/0.3558, allocations: 2.68 MB / 477.5 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.3558, allocations: 38.5 kB / 477.5 MB, free: 7.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.665e-06/0.3558, allocations: 0 / 477.5 MB, free: 7.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006403/0.3623, allocations: 1.272 MB / 478.8 MB, free: 6.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.3623, allocations: 55.41 kB / 478.8 MB, free: 6.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.3626, allocations: 261.8 kB / 479.1 MB, free: 6.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.3626, allocations: 29.7 kB / 479.1 MB, free: 6.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.3628, allocations: 188.4 kB / 479.3 MB, free: 6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.875e-05/0.3629, allocations: 103.1 kB / 479.4 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.363, allocations: 65.7 kB / 479.5 MB, free: 5.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.3632, allocations: 338.8 kB / 479.8 MB, free: 5.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.3633, allocations: 91.95 kB / 479.9 MB, free: 5.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.3636, allocations: 182.9 kB / 480.1 MB, free: 5.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/0.364, allocations: 311.7 kB / 480.4 MB, free: 4.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.364, allocations: 0 / 480.4 MB, free: 4.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007077/0.3647, allocations: 395.1 kB / 480.7 MB, free: 4.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3648, allocations: 4 kB / 480.8 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3648, allocations: 7.938 kB / 480.8 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004387/0.3691, allocations: 0.9351 MB / 481.7 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.3694, allocations: 67.91 kB / 481.8 MB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.3712, allocations: 1.878 MB / 483.6 MB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.3714, allocations: 8 kB / 483.6 MB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.3715, allocations: 16 kB / 483.7 MB, free: 1.391 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001958/0.3717, allocations: 157.6 kB / 483.8 MB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.3717, allocations: 27.8 kB / 483.8 MB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007736/0.3725, allocations: 499.3 kB / 484.3 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.3725, allocations: 11.98 kB / 484.3 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.3725, allocations: 0 / 484.3 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007606/0.3733, allocations: 0.72 MB / 485.1 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.3746, allocations: 0.8904 MB / 486 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3746, allocations: 7.922 kB / 486 MB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.3748, allocations: 43.98 kB / 486 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001793/0.3766, allocations: 312.5 kB / 486.3 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.3766, allocations: 11.98 kB / 486.3 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005759/0.3772, allocations: 0.6577 MB / 487 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3772, allocations: 96 / 487 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.3782, allocations: 0.7369 MB / 487.7 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.3783, allocations: 31.77 kB / 487.7 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.3783, allocations: 8 kB / 487.8 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.3785, allocations: 4 kB / 487.8 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3786, allocations: 15.97 kB / 487.8 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.3786, allocations: 15.98 kB / 487.8 MB, free: 13.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.3788, allocations: 181.2 kB / 488 MB, free: 12.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3788, allocations: 4.125 kB / 488 MB, free: 12.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006812/0.3795, allocations: 191.7 kB / 488.2 MB, free: 12.67 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001835/0.3813, allocations: 1.443 MB / 489.6 MB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008586/0.3822, allocations: 450.8 kB / 490 MB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3822, allocations: 0 / 490 MB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005258/0.3827, allocations: 219.8 kB / 490.3 MB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009324/0.3836, allocations: 176.1 kB / 490.4 MB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004453/0.3881, allocations: 3.333 MB / 493.8 MB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.3882, allocations: 176.2 kB / 493.9 MB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002319/0.3885, allocations: 46.94 kB / 494 MB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.3886, allocations: 99.41 kB / 494.1 MB, free: 6.52 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3886, allocations: 0 / 494.1 MB, free: 6.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04633/0.435, allocations: 14.57 MB / 0.4967 GB, free: 8.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.72, allocations: 7.969 kB / 0.4967 GB, free: 8.176 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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: 16.195054283976788]