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.001252/0.001252, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001376/0.001376, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.417/1.417, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.2218/0.2218, allocations: 46.94 MB / 361.6 MB, free: 3.938 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 75.88 kB / 0.4969 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3032, allocations: 66.08 MB / 0.5615 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1505/0.4537, allocations: 119.6 MB / 0.6783 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005352/0.4591, allocations: 4.236 MB / 0.6824 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.348e-05/0.4591, allocations: 0 / 0.6824 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.4595, allocations: 59.59 kB / 0.6825 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.4612, allocations: 0.7423 MB / 0.6832 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.4616, allocations: 158.1 kB / 0.6833 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005331/0.4621, allocations: 386.1 kB / 0.6837 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.4622, allocations: 9.812 kB / 0.6837 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.4624, allocations: 159.4 kB / 0.6839 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.4627, allocations: 195.4 kB / 0.6841 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.4627, allocations: 15.92 kB / 0.6841 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.4638, allocations: 0.6163 MB / 0.6847 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.346e-05/0.4639, allocations: 43.81 kB / 0.6847 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.464, allocations: 99.58 kB / 0.6848 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007201/0.4648, allocations: 468.3 kB / 0.6853 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4648, allocations: 0 / 0.6853 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4648, allocations: 0 / 0.6853 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.4648, allocations: 0 / 0.6853 GB, free: 4.809 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.001112/0.4659, allocations: 0.5402 MB / 0.6858 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4659, allocations: 8.031 kB / 0.6858 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.909e-05/0.4659, allocations: 8.688 kB / 0.6858 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.384e-05/0.466, allocations: 62.67 kB / 0.6859 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.4662, allocations: 24.84 kB / 0.6859 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.4665, allocations: 170.2 kB / 0.686 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.4667, allocations: 230.7 kB / 0.6863 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.4667, allocations: 27.92 kB / 0.6863 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006347/0.4673, allocations: 0.4979 MB / 0.6868 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.4674, allocations: 8 kB / 0.6868 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.4674, allocations: 8 kB / 0.6868 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.4674, allocations: 8 kB / 0.6868 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008798/0.4683, allocations: 0.7586 MB / 0.6875 GB, free: 2.281 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.001305/0.4696, allocations: 1.003 MB / 0.6885 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.47, allocations: 171.6 kB / 0.6887 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.4701, allocations: 81.47 kB / 0.6888 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/0.4716, allocations: 0.6803 MB / 0.6894 GB, free: 264 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.4716, allocations: 38.5 kB / 0.6895 GB, free: 216 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.532e-06/0.4716, allocations: 3.938 kB / 0.6895 GB, free: 212 kB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.000671/0.4723, allocations: 225.5 kB / 0.6897 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.4723, allocations: 51.41 kB / 0.6897 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.4725, allocations: 220 kB / 0.6899 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.4725, allocations: 33.64 kB / 0.69 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.4727, allocations: 219.5 kB / 0.6902 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.4727, allocations: 51.62 kB / 0.6902 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.4728, allocations: 90.03 kB / 0.6903 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.473, allocations: 330.8 kB / 0.6906 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.495e-05/0.4731, allocations: 48.84 kB / 0.6907 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.4734, allocations: 325.1 kB / 0.691 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004661/0.4739, allocations: 412.4 kB / 0.6914 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.4739, allocations: 4 kB / 0.6914 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005893/0.4745, allocations: 381.2 kB / 0.6918 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4745, allocations: 10.34 kB / 0.6918 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.4745, allocations: 15.94 kB / 0.6918 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.4745, allocations: 12 kB / 0.6918 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.4749, allocations: 111.8 kB / 0.6919 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.4749, allocations: 16.5 kB / 0.6919 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.4751, allocations: 24 kB / 0.6919 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.4751, allocations: 27.98 kB / 0.692 GB, free: 13.34 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.0001382/0.4753, allocations: 149.6 kB / 0.6921 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.4753, allocations: 19.91 kB / 0.6921 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.4756, allocations: 155.7 kB / 0.6923 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.4756, allocations: 12.03 kB / 0.6923 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4756, allocations: 0 / 0.6923 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4756, allocations: 0 / 0.6923 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.4762, allocations: 415.1 kB / 0.6927 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4762, allocations: 0 / 0.6927 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.4764, allocations: 27.98 kB / 0.6927 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4764, allocations: 0 / 0.6927 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.4764, allocations: 0 / 0.6927 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.4764, allocations: 8 kB / 0.6927 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4764, allocations: 4 kB / 0.6927 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.4766, allocations: 229.1 kB / 0.6929 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.4767, allocations: 23.88 kB / 0.693 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.4767, allocations: 11.95 kB / 0.693 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.4769, allocations: 4 kB / 0.693 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.477, allocations: 15.97 kB / 0.693 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.477, allocations: 4 kB / 0.693 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001437/0.4771, allocations: 152.5 kB / 0.6931 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.4771, allocations: 0 / 0.6931 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00047/0.4776, allocations: 95.88 kB / 0.6932 GB, free: 11.95 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.0007173/0.4783, allocations: 0.8075 MB / 0.694 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.4787, allocations: 173.2 kB / 0.6942 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4787, allocations: 4.75 kB / 0.6942 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.916e-05/0.4787, allocations: 31.92 kB / 0.6942 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.4792, allocations: 56.67 kB / 0.6943 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.4822, allocations: 2.727 MB / 0.6969 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.4823, allocations: 120.6 kB / 0.697 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002024/0.4825, allocations: 58.91 kB / 0.6971 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.419e-05/0.4826, allocations: 63.42 kB / 0.6972 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.4826, allocations: 0 / 0.6972 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.5088, allocations: 5.805 MB / 0.7028 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.78, allocations: 4.062 kB / 0.7028 GB, free: 1.855 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.86524658894632]