Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001373/0.001373, allocations: 111.1 kB / 20.44 MB, free: 1.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.00163, allocations: 206.4 kB / 23.73 MB, free: 4.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.5 MB / 257.4 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.235/0.235, allocations: 46.94 MB / 360.8 MB, free: 3.984 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 80.09 kB / 0.4962 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3214, allocations: 66.08 MB / 0.5607 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1529/0.4743, allocations: 119.7 MB / 0.6776 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005405/0.4797, allocations: 4.248 MB / 0.6817 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.4798, allocations: 4 kB / 0.6817 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.4802, allocations: 55.59 kB / 0.6818 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.4821, allocations: 0.7462 MB / 0.6825 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.4825, allocations: 162.2 kB / 0.6827 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006117/0.4831, allocations: 374.2 kB / 0.683 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.982e-05/0.4832, allocations: 13.8 kB / 0.683 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.4835, allocations: 163.4 kB / 0.6832 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.4838, allocations: 187.4 kB / 0.6834 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.4838, allocations: 8 kB / 0.6834 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.4851, allocations: 0.6124 MB / 0.684 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.111e-05/0.4852, allocations: 47.77 kB / 0.684 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.4853, allocations: 91.58 kB / 0.6841 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007769/0.4861, allocations: 472.4 kB / 0.6846 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4861, allocations: 7.938 kB / 0.6846 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4861, allocations: 0 / 0.6846 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.4861, allocations: 0 / 0.6846 GB, free: 4.672 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.001153/0.4873, allocations: 0.5363 MB / 0.6851 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4873, allocations: 8.031 kB / 0.6851 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.45e-05/0.4874, allocations: 58.67 kB / 0.6852 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.4875, allocations: 24.84 kB / 0.6852 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.4879, allocations: 174.2 kB / 0.6854 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.4881, allocations: 230.7 kB / 0.6856 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.4881, allocations: 24.12 kB / 0.6856 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000648/0.4888, allocations: 0.5058 MB / 0.6861 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4888, allocations: 0 / 0.6861 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.4888, allocations: 12 kB / 0.6861 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.4888, allocations: 4 kB / 0.6861 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008553/0.4897, allocations: 0.7196 MB / 0.6868 GB, free: 2.203 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.001429/0.4911, allocations: 1.006 MB / 0.6878 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.4915, allocations: 171.6 kB / 0.688 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.4917, allocations: 81.47 kB / 0.688 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/0.4931, allocations: 0.6842 MB / 0.6887 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.4932, allocations: 42.5 kB / 0.6887 GB, free: 124 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.4932, allocations: 4 kB / 0.6887 GB, free: 120 kB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006766/0.4938, allocations: 217.2 kB / 0.689 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.4939, allocations: 51.41 kB / 0.689 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.4941, allocations: 236.9 kB / 0.6892 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.4941, allocations: 29.7 kB / 0.6893 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.4943, allocations: 215.6 kB / 0.6895 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.4943, allocations: 55.53 kB / 0.6895 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.4944, allocations: 86.03 kB / 0.6896 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4946, allocations: 330.8 kB / 0.6899 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-05/0.4947, allocations: 52.84 kB / 0.69 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.495, allocations: 317.2 kB / 0.6903 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.4955, allocations: 424.3 kB / 0.6907 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4955, allocations: 4 kB / 0.6907 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005897/0.4961, allocations: 373.6 kB / 0.691 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.4961, allocations: 8 kB / 0.691 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.4961, allocations: 15.88 kB / 0.6911 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.365e-05/0.4962, allocations: 23.92 kB / 0.6911 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.4965, allocations: 103.8 kB / 0.6912 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/0.4965, allocations: 15.94 kB / 0.6912 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.4968, allocations: 23.98 kB / 0.6912 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.4968, allocations: 24 kB / 0.6912 GB, free: 13.25 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.000145/0.4969, allocations: 149.9 kB / 0.6914 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.497, allocations: 23.86 kB / 0.6914 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.4973, allocations: 163.6 kB / 0.6916 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.4973, allocations: 0 / 0.6916 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.4973, allocations: 4 kB / 0.6916 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4973, allocations: 8.031 kB / 0.6916 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005832/0.4979, allocations: 399.2 kB / 0.692 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4979, allocations: 4 kB / 0.692 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.4981, allocations: 23.98 kB / 0.692 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4981, allocations: 4 kB / 0.692 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.4981, allocations: 4 kB / 0.692 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4981, allocations: 3.938 kB / 0.692 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4981, allocations: 11.92 kB / 0.692 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.4984, allocations: 221.1 kB / 0.6922 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.4984, allocations: 27.95 kB / 0.6922 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.4985, allocations: 3.953 kB / 0.6922 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.4987, allocations: 15.98 kB / 0.6923 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.4987, allocations: 7.984 kB / 0.6923 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.4987, allocations: 4 kB / 0.6923 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001325/0.4988, allocations: 148.5 kB / 0.6924 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4988, allocations: 0 / 0.6924 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004831/0.4993, allocations: 99.88 kB / 0.6925 GB, free: 11.85 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.0007383/0.5001, allocations: 0.8076 MB / 0.6933 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003131/0.5004, allocations: 177.9 kB / 0.6935 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5004, allocations: 0 / 0.6935 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.946e-05/0.5004, allocations: 35.97 kB / 0.6935 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.5009, allocations: 52.58 kB / 0.6935 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.504, allocations: 2.739 MB / 0.6962 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.5041, allocations: 116.6 kB / 0.6963 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000209/0.5043, allocations: 54.91 kB / 0.6964 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.5044, allocations: 63.42 kB / 0.6964 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.5044, allocations: 0 / 0.6964 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.5375, allocations: 6.022 MB / 0.7023 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.43, allocations: 11.64 kB / 0.7023 GB, free: 1.523 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.424905532971025]