Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 104.7 kB / 16.62 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 189.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 241.2 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 42.94 kB / 300.2 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07977/0.08081, allocations: 49.45 MB / 349.7 MB, free: 4.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.157/0.2379, allocations: 26.94 MB / 376.6 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003265/0.2412, allocations: 4.15 MB / 380.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.2413, allocations: 5.938 kB / 380.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004944/0.2418, allocations: 181.9 kB / 380.9 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004724/0.2423, allocations: 318.3 kB / 381.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.2452, allocations: 1.304 MB / 382.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007472/0.246, allocations: 0.884 MB / 383.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.2462, allocations: 113 kB / 383.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005789/0.252, allocations: 4.331 MB / 387.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.2523, allocations: 286 kB / 388.2 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/0.2523, allocations: 31.38 kB / 388.2 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.2535, allocations: 0.7308 MB / 388.9 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.2536, allocations: 104.4 kB / 389 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.2537, allocations: 192.8 kB / 389.2 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008036/0.2546, allocations: 0.8467 MB / 390.1 MB, free: 7.449 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2546, allocations: 0 / 390.1 MB, free: 7.449 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2546, allocations: 0 / 390.1 MB, free: 7.449 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.2546, allocations: 5.344 kB / 390.1 MB, free: 7.445 MB / 302.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.0007037/0.2553, allocations: 0.6468 MB / 390.7 MB, free: 6.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2553, allocations: 9.406 kB / 390.7 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.588e-05/0.2554, allocations: 62.55 kB / 390.8 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003988/0.2558, allocations: 55.23 kB / 390.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.2561, allocations: 287.2 kB / 391.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.2561, allocations: 19.94 kB / 391.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.2562, allocations: 37 kB / 391.2 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.2566, allocations: 337.8 kB / 391.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.2566, allocations: 1.25 kB / 391.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.2566, allocations: 16.16 kB / 391.5 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2567, allocations: 7.562 kB / 391.5 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.2569, allocations: 213.2 kB / 391.7 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/0.2676, allocations: 5.908 MB / 397.7 MB, free: 1.762 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.2679, allocations: 182.1 kB / 397.8 MB, free: 1.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.268, allocations: 89.56 kB / 397.9 MB, free: 1.613 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009487/0.2775, allocations: 3.892 MB / 401.8 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.2775, allocations: 37.94 kB / 401.8 MB, free: 14.85 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.2775, allocations: 0 / 401.8 MB, free: 14.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.005771/0.2833, allocations: 1.41 MB / 403.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.2834, allocations: 60.72 kB / 403.3 MB, free: 13.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.2836, allocations: 260.5 kB / 403.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.2836, allocations: 32.45 kB / 403.6 MB, free: 13.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.2837, allocations: 184 kB / 403.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.2838, allocations: 93.89 kB / 403.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.111e-05/0.2839, allocations: 73.06 kB / 403.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.284, allocations: 338.2 kB / 404.3 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.2841, allocations: 89.56 kB / 404.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.2843, allocations: 192.5 kB / 404.5 MB, free: 12.85 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.2847, allocations: 298.7 kB / 404.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2847, allocations: 0 / 404.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005952/0.2853, allocations: 395.2 kB / 405.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2853, allocations: 7.984 kB / 405.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2853, allocations: 4 kB / 405.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003971/0.2893, allocations: 0.9366 MB / 406.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.2896, allocations: 75.89 kB / 406.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.2909, allocations: 1.976 MB / 408.2 MB, free: 9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.2912, allocations: 28.05 kB / 408.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.2912, allocations: 16 kB / 408.3 MB, free: 8.957 MB / 318.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.0001371/0.2913, allocations: 149.8 kB / 408.4 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.2914, allocations: 35.55 kB / 408.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006402/0.292, allocations: 495.6 kB / 408.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.2921, allocations: 7.984 kB / 408.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.2921, allocations: 0 / 408.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005778/0.2927, allocations: 0.7202 MB / 409.7 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.2938, allocations: 0.9355 MB / 410.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.2938, allocations: 0 / 410.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.294, allocations: 47.91 kB / 410.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/0.2956, allocations: 320.4 kB / 411 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.2956, allocations: 8.875 kB / 411 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004256/0.2961, allocations: 0.646 MB / 411.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.2961, allocations: 4.031 kB / 411.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008075/0.2969, allocations: 0.7283 MB / 412.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/0.297, allocations: 108.7 kB / 412.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.297, allocations: 4 kB / 412.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.2972, allocations: 19.98 kB / 412.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.2973, allocations: 19.86 kB / 412.5 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.2973, allocations: 15.98 kB / 412.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.2975, allocations: 186 kB / 412.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.2975, allocations: 0 / 412.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006116/0.2981, allocations: 191.9 kB / 412.9 MB, free: 4.109 MB / 318.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.001461/0.2996, allocations: 1.418 MB / 414.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007279/0.3003, allocations: 463.7 kB / 414.7 MB, free: 2.211 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3003, allocations: 4 kB / 414.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004659/0.3008, allocations: 235.8 kB / 415 MB, free: 1.977 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000866/0.3017, allocations: 163.7 kB / 415.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.3053, allocations: 3.453 MB / 418.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.3056, allocations: 0.7801 MB / 419.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.3058, allocations: 54.88 kB / 419.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.306, allocations: 103.4 kB / 419.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.306, allocations: 0 / 419.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4471/0.7531, allocations: 13.18 MB / 432.7 MB, free: 260 kB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.7533, allocations: 226.3 kB / 432.9 MB, free: 16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/3.134, allocations: 0 / 432.9 MB, free: 16 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches