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.001809/0.001809, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.00223/0.00223, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.402/1.402, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2133/0.2133, allocations: 44.91 MB / 358.8 MB, free: 6.379 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",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.002012/0.002012, allocations: 67.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3062, allocations: 65.47 MB / 0.557 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1607/0.4669, allocations: 139.4 MB / 0.6932 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005777/0.4727, allocations: 4.754 MB / 0.6979 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.4728, allocations: 0 / 0.6979 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.4731, allocations: 59.58 kB / 0.6979 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.4751, allocations: 0.7501 MB / 0.6987 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.4755, allocations: 155.5 kB / 0.6988 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006454/0.4762, allocations: 390.1 kB / 0.6992 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.527e-05/0.4762, allocations: 5.812 kB / 0.6992 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.4765, allocations: 155.5 kB / 0.6993 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003798/0.4769, allocations: 203.3 kB / 0.6995 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.477, allocations: 8 kB / 0.6995 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.4785, allocations: 0.7213 MB / 0.7002 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.054e-05/0.4786, allocations: 43.89 kB / 0.7003 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.4787, allocations: 111.5 kB / 0.7004 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.4798, allocations: 488.3 kB / 0.7009 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4798, allocations: 0 / 0.7009 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4798, allocations: 0 / 0.7009 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.4798, allocations: 0 / 0.7009 GB, free: 3.949 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001175/0.481, allocations: 0.5324 MB / 0.7014 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.481, allocations: 8.031 kB / 0.7014 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.432e-05/0.4811, allocations: 66.72 kB / 0.7014 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.4812, allocations: 24.84 kB / 0.7015 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.4816, allocations: 170.2 kB / 0.7016 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.4818, allocations: 234.6 kB / 0.7019 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.4818, allocations: 28.12 kB / 0.7019 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.4824, allocations: 326 kB / 0.7022 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4824, allocations: 4 kB / 0.7022 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.4824, allocations: 8 kB / 0.7022 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.4825, allocations: 15.92 kB / 0.7022 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008735/0.4833, allocations: 0.7508 MB / 0.703 GB, free: 1.66 MB / 0.5294 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.001458/0.4848, allocations: 1.205 MB / 0.7041 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.4852, allocations: 171.6 kB / 0.7043 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.4853, allocations: 81.47 kB / 0.7044 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/0.4868, allocations: 0.6959 MB / 0.7051 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.4869, allocations: 34.56 kB / 0.7051 GB, free: 15.33 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.4869, allocations: 0 / 0.7051 GB, free: 15.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006622/0.4875, allocations: 228.3 kB / 0.7053 GB, free: 15.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.4876, allocations: 55.41 kB / 0.7054 GB, free: 15.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.4878, allocations: 219 kB / 0.7056 GB, free: 14.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.4878, allocations: 33.7 kB / 0.7056 GB, free: 14.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.4879, allocations: 219.5 kB / 0.7058 GB, free: 14.56 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.488, allocations: 51.62 kB / 0.7059 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.4881, allocations: 86.03 kB / 0.7059 GB, free: 14.42 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4882, allocations: 326.8 kB / 0.7062 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.4883, allocations: 56.83 kB / 0.7063 GB, free: 14.03 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.4886, allocations: 325.2 kB / 0.7066 GB, free: 13.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004985/0.4891, allocations: 416.3 kB / 0.707 GB, free: 13.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.4891, allocations: 4 kB / 0.707 GB, free: 13.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006067/0.4898, allocations: 377.5 kB / 0.7074 GB, free: 12.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4898, allocations: 8 kB / 0.7074 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.4898, allocations: 12 kB / 0.7074 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/0.4898, allocations: 15.94 kB / 0.7074 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.4902, allocations: 107.8 kB / 0.7075 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.1e-05/0.4902, allocations: 19.88 kB / 0.7075 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.4904, allocations: 16 kB / 0.7075 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.4904, allocations: 28 kB / 0.7076 GB, free: 12.46 MB / 0.545 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.0001452/0.4906, allocations: 173.7 kB / 0.7077 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.4906, allocations: 19.91 kB / 0.7078 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.4909, allocations: 147.8 kB / 0.7079 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.4909, allocations: 4 kB / 0.7079 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.4909, allocations: 4 kB / 0.7079 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.491, allocations: 0 / 0.7079 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/0.4915, allocations: 407.2 kB / 0.7083 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4915, allocations: 4 kB / 0.7083 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.4917, allocations: 27.92 kB / 0.7083 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4917, allocations: 4 kB / 0.7083 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4917, allocations: 0 / 0.7083 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4917, allocations: 8.047 kB / 0.7083 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4917, allocations: 4 kB / 0.7083 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.4919, allocations: 224.9 kB / 0.7086 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.446e-05/0.492, allocations: 19.89 kB / 0.7086 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.4921, allocations: 11.95 kB / 0.7086 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.4923, allocations: 11.98 kB / 0.7086 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.4923, allocations: 11.98 kB / 0.7086 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.4923, allocations: 4 kB / 0.7086 GB, free: 11.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001399/0.4925, allocations: 152.5 kB / 0.7088 GB, free: 11.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4925, allocations: 3.938 kB / 0.7088 GB, free: 11.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004957/0.493, allocations: 95.88 kB / 0.7089 GB, free: 11.05 MB / 0.545 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.0007522/0.4937, allocations: 0.8231 MB / 0.7097 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003202/0.494, allocations: 170.1 kB / 0.7098 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.494, allocations: 4.062 kB / 0.7098 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.867e-05/0.4941, allocations: 31.92 kB / 0.7099 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.4945, allocations: 52.48 kB / 0.7099 GB, free: 9.949 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.4977, allocations: 2.731 MB / 0.7126 GB, free: 6.867 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.498, allocations: 0.7245 MB / 0.7133 GB, free: 6.117 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002018/0.4982, allocations: 58.92 kB / 0.7133 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.879e-05/0.4983, allocations: 63.41 kB / 0.7134 GB, free: 5.992 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.4983, allocations: 0 / 0.7134 GB, free: 5.992 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.5293, allocations: 5.703 MB / 0.719 GB, free: 452 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.96, allocations: 3.859 kB / 0.719 GB, free: 448 kB / 0.545 GB " [Timeout remaining time 648] (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: 14.939491068944335]