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.001688/0.001688, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002698/0.002698, allocations: 210.4 kB / 23.73 MB, free: 4.523 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.417/1.417, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2269/0.2269, allocations: 46.96 MB / 360.9 MB, free: 4.043 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.001884/0.001884, allocations: 75.86 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3247, allocations: 66.04 MB / 0.5606 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1483/0.473, allocations: 119.7 MB / 0.6775 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005491/0.4784, allocations: 4.252 MB / 0.6816 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.4786, allocations: 0 / 0.6816 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.4789, allocations: 55.59 kB / 0.6817 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.4808, allocations: 0.7501 MB / 0.6824 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.4811, allocations: 158.7 kB / 0.6826 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005419/0.4817, allocations: 382.1 kB / 0.6829 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.55e-05/0.4817, allocations: 5.812 kB / 0.683 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.482, allocations: 163.4 kB / 0.6831 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003234/0.4823, allocations: 187.4 kB / 0.6833 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.4823, allocations: 15.94 kB / 0.6833 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.4836, allocations: 0.6201 MB / 0.6839 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.13e-05/0.4837, allocations: 43.88 kB / 0.684 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.4838, allocations: 95.58 kB / 0.684 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007529/0.4846, allocations: 480.3 kB / 0.6845 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4846, allocations: 0 / 0.6845 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4846, allocations: 0 / 0.6845 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.4846, allocations: 0 / 0.6845 GB, free: 4.926 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.001123/0.4857, allocations: 0.5363 MB / 0.685 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4858, allocations: 8.031 kB / 0.685 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.763e-05/0.4858, allocations: 58.73 kB / 0.6851 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.486, allocations: 28.84 kB / 0.6851 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.4863, allocations: 174.2 kB / 0.6853 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.4865, allocations: 230.7 kB / 0.6855 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.4866, allocations: 28.12 kB / 0.6855 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006205/0.4872, allocations: 0.498 MB / 0.686 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4872, allocations: 3.938 kB / 0.686 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.4872, allocations: 12 kB / 0.686 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.4872, allocations: 4 kB / 0.686 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008254/0.4881, allocations: 0.7235 MB / 0.6867 GB, free: 2.449 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.00134/0.4894, allocations: 1.003 MB / 0.6877 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.4898, allocations: 171.6 kB / 0.6879 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.49, allocations: 85.45 kB / 0.688 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.4914, allocations: 0.6764 MB / 0.6886 GB, free: 436 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.4915, allocations: 42.55 kB / 0.6887 GB, free: 384 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.4915, allocations: 3.938 kB / 0.6887 GB, free: 380 kB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006356/0.4921, allocations: 217.1 kB / 0.6889 GB, free: 156 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.4922, allocations: 51.41 kB / 0.6889 GB, free: 92 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.4924, allocations: 235.5 kB / 0.6892 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.4924, allocations: 29.7 kB / 0.6892 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.4925, allocations: 219.6 kB / 0.6894 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.4926, allocations: 55.53 kB / 0.6894 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.737e-05/0.4927, allocations: 82.03 kB / 0.6895 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4928, allocations: 330.8 kB / 0.6898 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.4929, allocations: 52.84 kB / 0.6899 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.4932, allocations: 314.6 kB / 0.6902 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.4937, allocations: 432.2 kB / 0.6906 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4937, allocations: 4 kB / 0.6906 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005683/0.4943, allocations: 372.9 kB / 0.691 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.4943, allocations: 8.938 kB / 0.691 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.4943, allocations: 8 kB / 0.691 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.4943, allocations: 19.94 kB / 0.691 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.4947, allocations: 111.8 kB / 0.6911 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/0.4947, allocations: 15.94 kB / 0.6911 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.4949, allocations: 20 kB / 0.6911 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.495, allocations: 27.98 kB / 0.6912 GB, free: 13.5 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.0001292/0.4951, allocations: 149.6 kB / 0.6913 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.4951, allocations: 23.86 kB / 0.6913 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.4954, allocations: 159.7 kB / 0.6915 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.4955, allocations: 48 / 0.6915 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4955, allocations: 3.984 kB / 0.6915 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.4955, allocations: 4 kB / 0.6915 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005636/0.496, allocations: 403.1 kB / 0.6919 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.496, allocations: 7.938 kB / 0.6919 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.4962, allocations: 27.92 kB / 0.6919 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4962, allocations: 8.062 kB / 0.6919 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.4962, allocations: 8 kB / 0.6919 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4962, allocations: 0 / 0.6919 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.4962, allocations: 4 kB / 0.6919 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.4965, allocations: 228.4 kB / 0.6921 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.131e-05/0.4965, allocations: 23.89 kB / 0.6922 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.4966, allocations: 0 / 0.6922 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.4968, allocations: 15.98 kB / 0.6922 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.4968, allocations: 7.984 kB / 0.6922 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.4968, allocations: 4 kB / 0.6922 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000126/0.4969, allocations: 156.5 kB / 0.6923 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.4969, allocations: 0 / 0.6923 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004898/0.4974, allocations: 91.94 kB / 0.6924 GB, free: 12.11 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.0007112/0.4981, allocations: 0.8153 MB / 0.6932 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003035/0.4985, allocations: 177.8 kB / 0.6934 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4985, allocations: 0 / 0.6934 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.98e-05/0.4985, allocations: 35.92 kB / 0.6934 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.4989, allocations: 48.33 kB / 0.6935 GB, free: 11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.502, allocations: 2.723 MB / 0.6961 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.5021, allocations: 116.6 kB / 0.6962 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001992/0.5023, allocations: 58.91 kB / 0.6963 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.471e-05/0.5024, allocations: 63.42 kB / 0.6964 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.5024, allocations: 0 / 0.6964 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.5337, allocations: 6.13 MB / 0.7023 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.21, allocations: 7.797 kB / 0.7024 GB, free: 1.711 MB / 0.5294 GB " [Timeout remaining time 649] (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.251190547976876]