Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001169/0.001169, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008746/0.0008746, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8674/0.8674, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 3.938 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.348e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.03941/0.03944, allocations: 45.42 MB / 369.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004021/0.04346, allocations: 4.708 MB / 374.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.04368, allocations: 4 kB / 374.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006176/0.0443, allocations: 234.5 kB / 374.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005288/0.04483, allocations: 389.5 kB / 375.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01167/0.0565, allocations: 7.208 MB / 382.5 MB, free: 5.746 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009961/0.05749, allocations: 1.099 MB / 383.6 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.05768, allocations: 105.8 kB / 383.7 MB, free: 4.535 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003905/0.06158, allocations: 3.767 MB / 387.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004268/0.06201, allocations: 370.9 kB / 387.8 MB, free: 412 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.872e-05/0.06208, allocations: 60 kB / 387.9 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01064/0.07272, allocations: 9.36 MB / 397.2 MB, free: 6.969 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003425/0.07306, allocations: 239.4 kB / 397.5 MB, free: 6.734 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.0733, allocations: 231.6 kB / 397.7 MB, free: 6.508 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009858/0.08316, allocations: 6.704 MB / 404.4 MB, free: 15.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.08316, allocations: 7.938 kB / 404.4 MB, free: 15.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.08316, allocations: 0 / 404.4 MB, free: 15.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.08317, allocations: 0 / 404.4 MB, free: 15.78 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002916/0.08609, allocations: 1.323 MB / 405.7 MB, free: 14.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.08613, allocations: 15.98 kB / 405.7 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.572e-05/0.08621, allocations: 82.53 kB / 405.8 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.08643, allocations: 63.7 kB / 405.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.08681, allocations: 301 kB / 406.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.08684, allocations: 37 kB / 406.2 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.08688, allocations: 40 kB / 406.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008992/0.08778, allocations: 0.8932 MB / 407.1 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.0878, allocations: 3.938 kB / 407.1 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.08783, allocations: 24 kB / 407.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.08784, allocations: 12 kB / 407.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008364/0.08868, allocations: 0.7378 MB / 407.9 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006418/0.0951, allocations: 3.654 MB / 411.6 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000778/0.09588, allocations: 0.5056 MB / 412.1 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.09611, allocations: 238.2 kB / 412.3 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004504/0.1006, allocations: 2.549 MB / 414.9 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1006, allocations: 43.05 kB / 414.9 MB, free: 5.055 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 2.455e-06/0.1006, allocations: 0 / 414.9 MB, free: 5.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.003411/0.1041, allocations: 1.896 MB / 416.8 MB, free: 3.117 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.1041, allocations: 59.91 kB / 416.9 MB, free: 3.047 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.1043, allocations: 324.1 kB / 417.2 MB, free: 2.719 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.1044, allocations: 41.69 kB / 417.2 MB, free: 2.672 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.573e-05/0.1045, allocations: 204.7 kB / 417.4 MB, free: 2.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.468e-05/0.1046, allocations: 198.2 kB / 417.6 MB, free: 2.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.1047, allocations: 114.3 kB / 417.7 MB, free: 2.152 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.1048, allocations: 350.8 kB / 418.1 MB, free: 1.801 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.1051, allocations: 241.2 kB / 418.3 MB, free: 1.566 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.1055, allocations: 340.3 kB / 418.6 MB, free: 1.203 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007182/0.1062, allocations: 0.6124 MB / 419.2 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1062, allocations: 0 / 419.2 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001084/0.1073, allocations: 0.7457 MB / 420 MB, free: 15.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1073, allocations: 8 kB / 420 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1073, allocations: 0 / 420 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002898/0.1076, allocations: 114.7 kB / 420.1 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.1079, allocations: 123.8 kB / 420.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.1096, allocations: 3.262 MB / 423.5 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.1098, allocations: 12 kB / 423.5 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.1099, allocations: 31.98 kB / 423.5 MB, free: 11.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems 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 {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.11, allocations: 193.6 kB / 423.7 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.1102, allocations: 47.77 kB / 423.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009444/0.1111, allocations: 0.8204 MB / 424.6 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1111, allocations: 12.09 kB / 424.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.1112, allocations: 0 / 424.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006893/0.1118, allocations: 0.7572 MB / 425.4 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.1131, allocations: 1.181 MB / 426.5 MB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1131, allocations: 0 / 426.5 MB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.1134, allocations: 99.88 kB / 426.6 MB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/0.1138, allocations: 152.7 kB / 426.8 MB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.1138, allocations: 19.98 kB / 426.8 MB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002493/0.1141, allocations: 0.6483 MB / 427.5 MB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1141, allocations: 0 / 427.5 MB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.1151, allocations: 0.9072 MB / 428.4 MB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.1152, allocations: 43.89 kB / 428.4 MB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.1152, allocations: 12 kB / 428.4 MB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.1154, allocations: 24.06 kB / 428.4 MB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.1154, allocations: 40.38 kB / 428.5 MB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.1155, allocations: 27.97 kB / 428.5 MB, free: 6.797 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001864/0.1157, allocations: 255 kB / 428.8 MB, free: 6.551 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1157, allocations: 0 / 428.8 MB, free: 6.551 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003044/0.1187, allocations: 1.341 MB / 430.1 MB, free: 5.207 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004853/0.1236, allocations: 3.216 MB / 433.3 MB, free: 1.945 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009618/0.1245, allocations: 0.7702 MB / 434.1 MB, free: 1.148 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1245, allocations: 4 kB / 434.1 MB, free: 1.145 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003362/0.1249, allocations: 291.5 kB / 434.4 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008089/0.1257, allocations: 277.5 kB / 434.6 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006349/0.132, allocations: 5.257 MB / 439.9 MB, free: 11.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.1322, allocations: 233.6 kB / 440.1 MB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003878/0.1326, allocations: 148.2 kB / 440.3 MB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.1328, allocations: 156.4 kB / 440.4 MB, free: 10.6 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1328, allocations: 3.938 kB / 440.4 MB, free: 10.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1886/0.3214, allocations: 52.6 MB / 493 MB, free: 81.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.131/9.452, allocations: 7.938 kB / 493 MB, free: 81.84 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 19.214989438652992]