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.001763/0.001763, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002025/0.002025, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.742 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.2296/0.2296, 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.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.002063/0.002063, allocations: 71.89 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3202, allocations: 66.03 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1686/0.4888, allocations: 119.7 MB / 0.6775 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005685/0.4945, allocations: 4.24 MB / 0.6816 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.4946, allocations: 4 kB / 0.6816 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.495, allocations: 63.59 kB / 0.6817 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.497, allocations: 0.7423 MB / 0.6824 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.4974, allocations: 158.9 kB / 0.6826 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005824/0.498, allocations: 386.1 kB / 0.6829 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/0.498, allocations: 9.812 kB / 0.683 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.4983, allocations: 167.4 kB / 0.6831 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.4985, allocations: 183.4 kB / 0.6833 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.4986, allocations: 8 kB / 0.6833 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.4998, allocations: 0.6124 MB / 0.6839 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.768e-05/0.4999, allocations: 43.77 kB / 0.6839 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.5, allocations: 99.58 kB / 0.684 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007454/0.5008, allocations: 468.4 kB / 0.6845 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5008, allocations: 3.938 kB / 0.6845 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5008, allocations: 0 / 0.6845 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.5008, allocations: 0 / 0.6845 GB, free: 4.91 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.001117/0.5019, allocations: 0.5363 MB / 0.685 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.502, allocations: 12.03 kB / 0.685 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.943e-05/0.502, allocations: 62.72 kB / 0.6851 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.5022, allocations: 24.84 kB / 0.6851 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.5026, allocations: 174.2 kB / 0.6853 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.5028, allocations: 226.7 kB / 0.6855 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.5028, allocations: 28.12 kB / 0.6855 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006845/0.5035, allocations: 0.4979 MB / 0.686 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5035, allocations: 0 / 0.686 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.5035, allocations: 16 kB / 0.686 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.5036, allocations: 8 kB / 0.686 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009048/0.5045, allocations: 0.7157 MB / 0.6867 GB, free: 2.438 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.001327/0.5058, allocations: 1.003 MB / 0.6877 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.5062, allocations: 171.6 kB / 0.6879 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.5063, allocations: 77.48 kB / 0.6879 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/0.5078, allocations: 0.6881 MB / 0.6886 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.5079, allocations: 30.56 kB / 0.6886 GB, free: 380 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.5079, allocations: 0 / 0.6886 GB, free: 380 kB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006659/0.5085, allocations: 229 kB / 0.6889 GB, free: 144 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.5086, allocations: 55.41 kB / 0.6889 GB, free: 76 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.5088, allocations: 227.6 kB / 0.6891 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.5088, allocations: 33.7 kB / 0.6892 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.509, allocations: 207.6 kB / 0.6894 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.509, allocations: 63.5 kB / 0.6894 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.5091, allocations: 93.97 kB / 0.6895 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5093, allocations: 326.8 kB / 0.6898 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.5094, allocations: 44.84 kB / 0.6899 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.5097, allocations: 322.6 kB / 0.6902 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.5102, allocations: 428.3 kB / 0.6906 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.5102, allocations: 8 kB / 0.6906 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005708/0.5107, allocations: 373.8 kB / 0.6909 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.5108, allocations: 12 kB / 0.691 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.5108, allocations: 11.94 kB / 0.691 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.5108, allocations: 15.94 kB / 0.691 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.5111, allocations: 111.8 kB / 0.6911 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.516e-05/0.5112, allocations: 19.92 kB / 0.6911 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.5114, allocations: 12 kB / 0.6911 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.5114, allocations: 28 kB / 0.6911 GB, free: 13.48 MB / 0.5294 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.0001534/0.5116, allocations: 149.6 kB / 0.6913 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.5116, allocations: 27.91 kB / 0.6913 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.5119, allocations: 159.6 kB / 0.6915 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.5119, allocations: 4 kB / 0.6915 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5119, allocations: 0 / 0.6915 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.5119, allocations: 3.984 kB / 0.6915 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.5125, allocations: 403.2 kB / 0.6919 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5125, allocations: 0 / 0.6919 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.5127, allocations: 35.97 kB / 0.6919 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5127, allocations: 0 / 0.6919 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.5127, allocations: 4 kB / 0.6919 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5127, allocations: 3.938 kB / 0.6919 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5127, allocations: 0 / 0.6919 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.513, allocations: 228.8 kB / 0.6921 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.513, allocations: 19.89 kB / 0.6921 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.5131, allocations: 11.95 kB / 0.6921 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.5133, allocations: 12.05 kB / 0.6922 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.5133, allocations: 7.984 kB / 0.6922 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.5133, allocations: 15.98 kB / 0.6922 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001322/0.5135, allocations: 144.5 kB / 0.6923 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5135, allocations: 0 / 0.6923 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004884/0.514, allocations: 99.86 kB / 0.6924 GB, free: 12.09 MB / 0.5294 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.0007386/0.5147, allocations: 0.8154 MB / 0.6932 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.515, allocations: 172.6 kB / 0.6934 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.515, allocations: 0 / 0.6934 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.721e-05/0.5151, allocations: 31.92 kB / 0.6934 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.5155, allocations: 53.91 kB / 0.6935 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.5188, allocations: 2.735 MB / 0.6961 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.5189, allocations: 120.5 kB / 0.6962 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002199/0.5191, allocations: 54.92 kB / 0.6963 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.5192, allocations: 63.41 kB / 0.6964 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.5192, allocations: 0 / 0.6964 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0329/0.5521, allocations: 6.01 MB / 0.7022 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.75, allocations: 11.98 kB / 0.7022 GB, free: 1.801 MB / 0.5294 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: 14.770240874961019]