Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.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.001866/0.001866, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002187/0.002187, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.503/1.503, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2319/0.2319, allocations: 46.92 MB / 357.1 MB, free: 10.33 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.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 71.88 kB / 0.491 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1367, allocations: 66 MB / 0.5554 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4703/0.607, allocations: 139.4 MB / 0.6915 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005987/0.613, allocations: 4.734 MB / 0.6962 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.6132, allocations: 4 kB / 0.6962 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.6136, allocations: 63.58 kB / 0.6962 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.6155, allocations: 0.7345 MB / 0.697 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.6159, allocations: 157.6 kB / 0.6971 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006574/0.6166, allocations: 382.1 kB / 0.6975 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.445e-05/0.6166, allocations: 9.672 kB / 0.6975 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.617, allocations: 159.5 kB / 0.6976 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000359/0.6173, allocations: 195.3 kB / 0.6978 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.6174, allocations: 8 kB / 0.6978 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.6188, allocations: 0.7136 MB / 0.6985 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.951e-05/0.6189, allocations: 43.83 kB / 0.6986 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.6191, allocations: 107.5 kB / 0.6987 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.6201, allocations: 486 kB / 0.6991 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.6201, allocations: 0 / 0.6991 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6201, allocations: 0 / 0.6991 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.6201, allocations: 3.938 kB / 0.6991 GB, free: 14.33 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001247/0.6213, allocations: 0.6156 MB / 0.6997 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.6214, allocations: 8.031 kB / 0.6997 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.873e-05/0.6215, allocations: 54.73 kB / 0.6998 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.6216, allocations: 27.91 kB / 0.6998 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.622, allocations: 232 kB / 0.7 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.6222, allocations: 123.9 kB / 0.7002 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.6222, allocations: 24.38 kB / 0.7002 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005914/0.6228, allocations: 330.7 kB / 0.7005 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.6228, allocations: 0 / 0.7005 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.6229, allocations: 12 kB / 0.7005 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.6229, allocations: 8 kB / 0.7005 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008968/0.6238, allocations: 0.739 MB / 0.7012 GB, free: 12.02 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.6254, allocations: 1.222 MB / 0.7024 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.6259, allocations: 163.8 kB / 0.7026 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.626, allocations: 89.34 kB / 0.7027 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002607/0.6286, allocations: 2.707 MB / 0.7053 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.6287, allocations: 30.56 kB / 0.7053 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 3.616e-06/0.6287, allocations: 3.984 kB / 0.7053 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0007652/0.6294, allocations: 224.9 kB / 0.7056 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.6295, allocations: 55.41 kB / 0.7056 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.6297, allocations: 220.1 kB / 0.7058 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.6297, allocations: 29.7 kB / 0.7059 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.6299, allocations: 223.5 kB / 0.7061 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.6299, allocations: 51.62 kB / 0.7061 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.6301, allocations: 82.05 kB / 0.7062 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6302, allocations: 334.8 kB / 0.7065 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.582e-05/0.6303, allocations: 44.84 kB / 0.7066 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.6306, allocations: 321.2 kB / 0.7069 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.6311, allocations: 412.3 kB / 0.7073 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6311, allocations: 4 kB / 0.7073 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006147/0.6317, allocations: 385.2 kB / 0.7076 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.6318, allocations: 12 kB / 0.7076 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.6318, allocations: 8 kB / 0.7076 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.6318, allocations: 15.94 kB / 0.7077 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.6321, allocations: 112.5 kB / 0.7078 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.301e-05/0.6322, allocations: 20.45 kB / 0.7078 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.6324, allocations: 16 kB / 0.7078 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.6324, allocations: 28 kB / 0.7078 GB, free: 4.309 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * 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 0.0001465/0.6326, allocations: 153.6 kB / 0.708 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.6326, allocations: 15.91 kB / 0.708 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.633, allocations: 159.7 kB / 0.7081 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.633, allocations: 4 kB / 0.7081 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.633, allocations: 3.625 kB / 0.7082 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.633, allocations: 0 / 0.7082 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006018/0.6336, allocations: 448.1 kB / 0.7086 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6336, allocations: 0 / 0.7086 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.6337, allocations: 31.92 kB / 0.7086 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.6337, allocations: 4.062 kB / 0.7086 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.6337, allocations: 0 / 0.7086 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.6337, allocations: 4 kB / 0.7086 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6337, allocations: 0 / 0.7086 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.634, allocations: 221 kB / 0.7088 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.998e-05/0.6341, allocations: 101 kB / 0.7089 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.6341, allocations: 15.95 kB / 0.7089 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.6343, allocations: 4 kB / 0.7089 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.6344, allocations: 15.92 kB / 0.709 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.6344, allocations: 11.98 kB / 0.709 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000134/0.6345, allocations: 144.5 kB / 0.7091 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6345, allocations: 0 / 0.7091 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000496/0.635, allocations: 99.86 kB / 0.7092 GB, free: 2.785 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.000752/0.6358, allocations: 0.8272 MB / 0.71 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.6361, allocations: 165.5 kB / 0.7102 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6361, allocations: 0 / 0.7102 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.381e-05/0.6362, allocations: 39.91 kB / 0.7102 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.6367, allocations: 44.58 kB / 0.7102 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.6399, allocations: 2.731 MB / 0.7129 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.6403, allocations: 0.7285 MB / 0.7136 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002086/0.6405, allocations: 50.92 kB / 0.7137 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.6406, allocations: 67.41 kB / 0.7137 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.6406, allocations: 0 / 0.7137 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.6702, allocations: 5.383 MB / 0.719 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/9.03, allocations: 0.8594 kB / 0.719 GB, free: 8.469 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.270765587920323]