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.001284/0.001284, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.001528/0.001528, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.2298/0.2298, allocations: 46.93 MB / 361.7 MB, free: 4.238 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 71.88 kB / 0.497 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3375, allocations: 66.03 MB / 0.5615 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1696/0.5071, allocations: 139.4 MB / 0.6976 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005951/0.513, allocations: 4.758 MB / 0.7023 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.5132, allocations: 0 / 0.7023 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003828/0.5136, allocations: 59.59 kB / 0.7023 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.5157, allocations: 0.7461 MB / 0.7031 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.5161, allocations: 158.7 kB / 0.7032 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007041/0.5168, allocations: 386.2 kB / 0.7036 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.789e-05/0.5169, allocations: 5.812 kB / 0.7036 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.5172, allocations: 167.4 kB / 0.7037 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003596/0.5175, allocations: 183.4 kB / 0.7039 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.5176, allocations: 8 kB / 0.7039 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.5191, allocations: 0.7214 MB / 0.7046 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.709e-05/0.5192, allocations: 51.75 kB / 0.7047 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.5194, allocations: 111.5 kB / 0.7048 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000989/0.5203, allocations: 484.4 kB / 0.7052 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5204, allocations: 0 / 0.7052 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5204, allocations: 0 / 0.7052 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.5204, allocations: 0 / 0.7052 GB, free: 0.6328 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.0012/0.5216, allocations: 0.5363 MB / 0.7058 GB, free: 68 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.5216, allocations: 12.03 kB / 0.7058 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.155e-05/0.5216, allocations: 4.688 kB / 0.7058 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.598e-05/0.5217, allocations: 62.72 kB / 0.7058 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.5219, allocations: 24.84 kB / 0.7059 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.5223, allocations: 178.2 kB / 0.706 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.5225, allocations: 222.7 kB / 0.7063 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.5225, allocations: 27.92 kB / 0.7063 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005941/0.5231, allocations: 330 kB / 0.7066 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5231, allocations: 0 / 0.7066 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.5232, allocations: 16 kB / 0.7066 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.5232, allocations: 8 kB / 0.7066 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009379/0.5241, allocations: 0.7625 MB / 0.7074 GB, free: 14.32 MB / 0.545 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.00155/0.5257, allocations: 1.205 MB / 0.7085 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.5261, allocations: 163.7 kB / 0.7087 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.5263, allocations: 85.41 kB / 0.7088 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/0.5278, allocations: 0.6998 MB / 0.7095 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.5278, allocations: 34.56 kB / 0.7095 GB, free: 12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.5278, allocations: 7.938 kB / 0.7095 GB, free: 11.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0007149/0.5285, allocations: 217 kB / 0.7097 GB, free: 11.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.5286, allocations: 55.41 kB / 0.7098 GB, free: 11.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.5288, allocations: 207.8 kB / 0.71 GB, free: 11.49 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.5288, allocations: 33.69 kB / 0.71 GB, free: 11.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.529, allocations: 231.4 kB / 0.7102 GB, free: 11.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.529, allocations: 47.64 kB / 0.7103 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.5291, allocations: 86.03 kB / 0.7103 GB, free: 11.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5293, allocations: 326.8 kB / 0.7107 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.5294, allocations: 56.83 kB / 0.7107 GB, free: 10.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.5298, allocations: 314.6 kB / 0.711 GB, free: 10.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000539/0.5303, allocations: 428.3 kB / 0.7114 GB, free: 9.715 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.5303, allocations: 8 kB / 0.7114 GB, free: 9.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006319/0.531, allocations: 380.8 kB / 0.7118 GB, free: 9.328 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.531, allocations: 9 kB / 0.7118 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.531, allocations: 11.94 kB / 0.7118 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.531, allocations: 16 kB / 0.7118 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.5314, allocations: 111.8 kB / 0.7119 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/0.5314, allocations: 15.94 kB / 0.7119 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.5316, allocations: 20 kB / 0.712 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.5317, allocations: 24 kB / 0.712 GB, free: 9.125 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.0001451/0.5318, allocations: 157.5 kB / 0.7121 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.5319, allocations: 19.84 kB / 0.7122 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.5322, allocations: 163.7 kB / 0.7123 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.5322, allocations: 0 / 0.7123 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5322, allocations: 0 / 0.7123 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5322, allocations: 0 / 0.7123 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.5328, allocations: 415.1 kB / 0.7127 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5328, allocations: 0 / 0.7127 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.533, allocations: 31.92 kB / 0.7127 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.533, allocations: 0 / 0.7127 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.533, allocations: 8 kB / 0.7127 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.533, allocations: 0 / 0.7127 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.533, allocations: 3.984 kB / 0.7127 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.5332, allocations: 225 kB / 0.713 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.5333, allocations: 23.89 kB / 0.713 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.5333, allocations: 3.953 kB / 0.713 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.5335, allocations: 15.98 kB / 0.713 GB, free: 7.988 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.5336, allocations: 11.92 kB / 0.713 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.5336, allocations: 4 kB / 0.713 GB, free: 7.973 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000136/0.5337, allocations: 152.5 kB / 0.7132 GB, free: 7.824 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5337, allocations: 4 kB / 0.7132 GB, free: 7.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004924/0.5342, allocations: 95.88 kB / 0.7133 GB, free: 7.727 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.0007123/0.5349, allocations: 0.8193 MB / 0.7141 GB, free: 6.875 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.5353, allocations: 168.1 kB / 0.7142 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5353, allocations: 2 kB / 0.7142 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.628e-05/0.5353, allocations: 31.92 kB / 0.7143 GB, free: 6.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.5358, allocations: 56.45 kB / 0.7143 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.5389, allocations: 2.731 MB / 0.717 GB, free: 3.539 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.5393, allocations: 0.7323 MB / 0.7177 GB, free: 2.781 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002322/0.5395, allocations: 54.92 kB / 0.7177 GB, free: 2.723 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.882e-05/0.5396, allocations: 63.41 kB / 0.7178 GB, free: 2.66 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.5396, allocations: 4 kB / 0.7178 GB, free: 2.656 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.5658, allocations: 5.72 MB / 0.7234 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.82, allocations: 6.812 kB / 0.7234 GB, free: 13.09 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.251704922993667]