Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.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.001854/0.001854, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.002391/0.002391, allocations: 207.4 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.406/1.406, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2217/0.2217, allocations: 46.96 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.89 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3055, allocations: 66.03 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1674/0.4729, allocations: 132.8 MB / 0.6903 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.4748, allocations: 1.305 MB / 0.6915 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.829e-05/0.4748, allocations: 0 / 0.6915 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.4751, allocations: 39.75 kB / 0.6916 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.4777, allocations: 1.087 MB / 0.6926 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.478e-06/0.4777, allocations: 0 / 0.6926 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.4778, allocations: 71.64 kB / 0.6927 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.4779, allocations: 0 / 0.6927 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.418e-05/0.4779, allocations: 31.91 kB / 0.6927 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.478, allocations: 31.84 kB / 0.6928 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.478, allocations: 0 / 0.6928 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002864/0.4809, allocations: 1.653 MB / 0.6944 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.4809, allocations: 23.84 kB / 0.6944 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.481, allocations: 15.94 kB / 0.6944 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.4823, allocations: 0.8923 MB / 0.6953 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4823, allocations: 0 / 0.6953 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4823, allocations: 0 / 0.6953 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.4823, allocations: 0 / 0.6953 GB, free: 9.773 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000696/0.483, allocations: 436.5 kB / 0.6957 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.483, allocations: 16.02 kB / 0.6957 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.4831, allocations: 34.75 kB / 0.6957 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.4831, allocations: 8.891 kB / 0.6958 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.4832, allocations: 117.5 kB / 0.6959 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.4832, allocations: 3.938 kB / 0.6959 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.4832, allocations: 7.984 kB / 0.6959 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.4834, allocations: 89.59 kB / 0.696 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.4834, allocations: 0 / 0.696 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.4834, allocations: 3.938 kB / 0.696 GB, free: 9 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.4834, allocations: 8 kB / 0.696 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.4836, allocations: 67.95 kB / 0.696 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.484, allocations: 287.7 kB / 0.6963 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.12e-05/0.4841, allocations: 38.56 kB / 0.6964 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.4841, allocations: 12.98 kB / 0.6964 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.4843, allocations: 39.91 kB / 0.6964 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.4843, allocations: 30.56 kB / 0.6964 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.4843, allocations: 0 / 0.6964 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0001961/0.4845, allocations: 69.62 kB / 0.6965 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.4845, allocations: 55.41 kB / 0.6966 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.4846, allocations: 101.8 kB / 0.6966 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.4846, allocations: 29.7 kB / 0.6967 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.4847, allocations: 96.03 kB / 0.6968 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.4847, allocations: 23.8 kB / 0.6968 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.4848, allocations: 21.72 kB / 0.6968 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4849, allocations: 314.8 kB / 0.6971 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.4849, allocations: 12 kB / 0.6971 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.459e-05/0.485, allocations: 43.41 kB / 0.6972 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.119e-05/0.4851, allocations: 55.36 kB / 0.6972 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4851, allocations: 0 / 0.6972 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001403/0.4852, allocations: 93.98 kB / 0.6973 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.4852, allocations: 4 kB / 0.6973 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4852, allocations: 8.062 kB / 0.6973 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.4852, allocations: 112 / 0.6973 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.251e-05/0.4853, allocations: 15.94 kB / 0.6973 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.4853, allocations: 0 / 0.6973 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.868e-05/0.4853, allocations: 11.94 kB / 0.6973 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.4854, allocations: 7.984 kB / 0.6974 GB, free: 7.434 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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.331e-05/0.4854, allocations: 121.7 kB / 0.6975 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.4855, allocations: 4.031 kB / 0.6975 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.4856, allocations: 81.36 kB / 0.6976 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4856, allocations: 0 / 0.6976 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.4856, allocations: 0 / 0.6976 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4856, allocations: 0 / 0.6976 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.4858, allocations: 136.7 kB / 0.6977 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4858, allocations: 3.938 kB / 0.6977 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.4859, allocations: 15.98 kB / 0.6977 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4859, allocations: 4 kB / 0.6977 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.4859, allocations: 0 / 0.6977 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.4859, allocations: 0 / 0.6977 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4859, allocations: 0 / 0.6977 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.486, allocations: 159.4 kB / 0.6979 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.486, allocations: 7.938 kB / 0.6979 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.486, allocations: 3.984 kB / 0.6979 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.491e-05/0.4861, allocations: 4 kB / 0.6979 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.214e-05/0.4861, allocations: 0 / 0.6979 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.4861, allocations: 4 kB / 0.6979 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.429e-05/0.4862, allocations: 87.39 kB / 0.698 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.4862, allocations: 4 kB / 0.698 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004639/0.4866, allocations: 151.5 kB / 0.6981 GB, free: 6.586 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 4 * Array equations: 1 * 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.001108/0.4877, allocations: 0.9225 MB / 0.699 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.4878, allocations: 31.92 kB / 0.699 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.4878, allocations: 4 kB / 0.699 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.257e-05/0.4879, allocations: 19.98 kB / 0.6991 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.4881, allocations: 14.83 kB / 0.6991 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006462/0.4888, allocations: 269.7 kB / 0.6993 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.514e-05/0.4889, allocations: 75.27 kB / 0.6994 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.663e-05/0.4889, allocations: 20.08 kB / 0.6994 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.489, allocations: 19.42 kB / 0.6994 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.489, allocations: 0 / 0.6994 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.5197, allocations: 5.576 MB / 0.7049 GB, free: 15.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.33, allocations: 18.92 kB / 0.7049 GB, free: 15.67 MB / 0.545 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.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: 14.193666551000206]