Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001566/0.001566, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.00186/0.00186, allocations: 219 kB / 21.46 MB, free: 1.586 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.549/1.549, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2305/0.2305, allocations: 44.9 MB / 355.8 MB, free: 12.38 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 71.89 kB / 0.4886 GB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1169, allocations: 65.42 MB / 0.5525 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4587/0.5756, allocations: 139.4 MB / 0.6886 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006186/0.5818, allocations: 4.738 MB / 0.6932 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.582, allocations: 0 / 0.6932 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.5824, allocations: 59.58 kB / 0.6933 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.5844, allocations: 0.7423 MB / 0.694 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.5848, allocations: 158.8 kB / 0.6942 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006123/0.5854, allocations: 374.2 kB / 0.6945 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.363e-05/0.5855, allocations: 5.688 kB / 0.6945 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.5857, allocations: 163.3 kB / 0.6947 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003087/0.5861, allocations: 191.4 kB / 0.6949 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.5861, allocations: 15.94 kB / 0.6949 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.5876, allocations: 0.7019 MB / 0.6956 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.5877, allocations: 43.83 kB / 0.6956 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.5878, allocations: 111.5 kB / 0.6957 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008814/0.5887, allocations: 488.4 kB / 0.6962 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5887, allocations: 0 / 0.6962 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5887, allocations: 0 / 0.6962 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.5887, allocations: 0 / 0.6962 GB, free: 3.988 MB / 0.4981 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.0013/0.59, allocations: 0.6116 MB / 0.6968 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.59, allocations: 12.03 kB / 0.6968 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.744e-05/0.59, allocations: 8.75 kB / 0.6968 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.407e-05/0.5901, allocations: 58.73 kB / 0.6969 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.5903, allocations: 24.84 kB / 0.6969 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.5906, allocations: 232 kB / 0.6971 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.5908, allocations: 120.1 kB / 0.6972 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.5908, allocations: 31.92 kB / 0.6973 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/0.5914, allocations: 318.8 kB / 0.6976 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5914, allocations: 7.938 kB / 0.6976 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.5914, allocations: 8 kB / 0.6976 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.5914, allocations: 8 kB / 0.6976 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008948/0.5923, allocations: 0.7391 MB / 0.6983 GB, free: 1.68 MB / 0.4981 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.001492/0.5938, allocations: 1.226 MB / 0.6995 GB, free: 348 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.5942, allocations: 175.7 kB / 0.6997 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.5944, allocations: 79.23 kB / 0.6997 GB, free: 84 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002622/0.597, allocations: 2.707 MB / 0.7024 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.597, allocations: 30.56 kB / 0.7024 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.597, allocations: 0 / 0.7024 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0007079/0.5977, allocations: 224.9 kB / 0.7026 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.5978, allocations: 67.39 kB / 0.7027 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.598, allocations: 211 kB / 0.7029 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.598, allocations: 29.7 kB / 0.7029 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.5982, allocations: 223.5 kB / 0.7031 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.5982, allocations: 51.62 kB / 0.7032 GB, free: 12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.5983, allocations: 86.03 kB / 0.7033 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5985, allocations: 326.8 kB / 0.7036 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.5986, allocations: 48.84 kB / 0.7036 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.5989, allocations: 321.2 kB / 0.7039 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/0.5993, allocations: 421.1 kB / 0.7043 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5993, allocations: 0 / 0.7043 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005916/0.5999, allocations: 383.7 kB / 0.7047 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.6, allocations: 12 kB / 0.7047 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.6, allocations: 8 kB / 0.7047 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/0.6, allocations: 15.94 kB / 0.7047 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.6004, allocations: 107.8 kB / 0.7048 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.6004, allocations: 19.92 kB / 0.7049 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.6006, allocations: 16.88 kB / 0.7049 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.6006, allocations: 31.94 kB / 0.7049 GB, free: 9.957 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.0001509/0.6008, allocations: 153.8 kB / 0.7051 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.6009, allocations: 15.91 kB / 0.7051 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.6012, allocations: 151.8 kB / 0.7052 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.6012, allocations: 4 kB / 0.7052 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6012, allocations: 4 kB / 0.7052 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.6012, allocations: 3.984 kB / 0.7052 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005985/0.6018, allocations: 452 kB / 0.7057 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6018, allocations: 3.938 kB / 0.7057 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.6019, allocations: 27.98 kB / 0.7057 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6019, allocations: 0 / 0.7057 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.602, allocations: 0 / 0.7057 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.602, allocations: 4 kB / 0.7057 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.602, allocations: 4.062 kB / 0.7057 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.6022, allocations: 225 kB / 0.7059 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.803e-05/0.6023, allocations: 101 kB / 0.706 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.6023, allocations: 7.953 kB / 0.706 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.6025, allocations: 4.047 kB / 0.706 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.6026, allocations: 19.97 kB / 0.706 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.6026, allocations: 11.98 kB / 0.706 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001335/0.6027, allocations: 144.5 kB / 0.7062 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6027, allocations: 0 / 0.7062 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005111/0.6032, allocations: 103.9 kB / 0.7063 GB, free: 8.426 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.0008809/0.6041, allocations: 0.8153 MB / 0.7071 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.6045, allocations: 165.9 kB / 0.7072 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6045, allocations: 4.125 kB / 0.7072 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.6046, allocations: 36.67 kB / 0.7073 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.605, allocations: 48.5 kB / 0.7073 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.6083, allocations: 2.732 MB / 0.71 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.6086, allocations: 0.7245 MB / 0.7107 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.6089, allocations: 62.91 kB / 0.7108 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.609, allocations: 63.41 kB / 0.7108 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/0.609, allocations: 0 / 0.7108 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.6317, allocations: 5.43 MB / 0.7161 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.556/9.188, allocations: 5.938 kB / 0.7161 GB, free: 14.09 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.570355286996346]