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.001806/0.001806, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.002279/0.002279, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.493/1.493, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2194/0.2194, allocations: 46.9 MB / 357.4 MB, free: 10.58 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.00223/0.00223, allocations: 79.88 kB / 0.4913 GB, free: 8.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1258, allocations: 65.99 MB / 0.5557 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4498/0.5757, allocations: 139.4 MB / 0.6919 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005811/0.5815, allocations: 4.734 MB / 0.6965 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.5817, allocations: 4 kB / 0.6965 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003873/0.582, allocations: 55.59 kB / 0.6965 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.5841, allocations: 0.7384 MB / 0.6973 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.5845, allocations: 168.3 kB / 0.6974 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005853/0.5851, allocations: 374.1 kB / 0.6978 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.5851, allocations: 9.688 kB / 0.6978 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.5854, allocations: 159.4 kB / 0.6979 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.5856, allocations: 191.3 kB / 0.6981 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.5857, allocations: 8 kB / 0.6981 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.587, allocations: 0.7136 MB / 0.6988 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.618e-05/0.5871, allocations: 43.77 kB / 0.6989 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.5872, allocations: 107.5 kB / 0.699 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008003/0.588, allocations: 477.4 kB / 0.6994 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.588, allocations: 7.875 kB / 0.6994 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.979e-06/0.588, allocations: 8 kB / 0.6995 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.5881, allocations: 0 / 0.6995 GB, free: 14.86 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.00115/0.5892, allocations: 0.6077 MB / 0.7 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.5892, allocations: 12.03 kB / 0.7001 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.374e-05/0.5893, allocations: 58.73 kB / 0.7001 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.5895, allocations: 28.84 kB / 0.7001 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.5898, allocations: 225 kB / 0.7004 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.5899, allocations: 127.9 kB / 0.7005 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.59, allocations: 20.38 kB / 0.7005 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.5905, allocations: 330.7 kB / 0.7008 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5905, allocations: 0 / 0.7008 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.5905, allocations: 8 kB / 0.7008 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.5906, allocations: 8 kB / 0.7008 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008788/0.5914, allocations: 0.7468 MB / 0.7016 GB, free: 12.56 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.001499/0.5929, allocations: 1.221 MB / 0.7027 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.5933, allocations: 151.8 kB / 0.7029 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.5935, allocations: 93.41 kB / 0.703 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002676/0.5962, allocations: 2.715 MB / 0.7056 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.5962, allocations: 34.56 kB / 0.7057 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.5962, allocations: 0 / 0.7057 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006629/0.5969, allocations: 219.1 kB / 0.7059 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.5969, allocations: 51.41 kB / 0.7059 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.5971, allocations: 216.1 kB / 0.7061 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.5971, allocations: 37.69 kB / 0.7062 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.5973, allocations: 219.5 kB / 0.7064 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/0.5973, allocations: 51.62 kB / 0.7064 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.5974, allocations: 90.03 kB / 0.7065 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5976, allocations: 330.8 kB / 0.7068 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.807e-05/0.5977, allocations: 48.84 kB / 0.7069 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.598, allocations: 317.2 kB / 0.7072 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/0.5984, allocations: 416.3 kB / 0.7076 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.788e-06/0.5984, allocations: 7.938 kB / 0.7076 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005754/0.599, allocations: 373.6 kB / 0.7079 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.5991, allocations: 11.98 kB / 0.7079 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.5991, allocations: 20.09 kB / 0.708 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.5991, allocations: 15.94 kB / 0.708 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/0.5994, allocations: 103.8 kB / 0.7081 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/0.5995, allocations: 25.88 kB / 0.7081 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.5997, allocations: 16 kB / 0.7081 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.5997, allocations: 28 kB / 0.7081 GB, free: 4.848 MB / 0.5137 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.0001435/0.5998, allocations: 149.6 kB / 0.7083 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.5999, allocations: 19.91 kB / 0.7083 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.6002, allocations: 159.8 kB / 0.7085 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.6002, allocations: 4 kB / 0.7085 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6002, allocations: 0 / 0.7085 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.6002, allocations: 0 / 0.7085 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.6008, allocations: 438.8 kB / 0.7089 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.6008, allocations: 4 kB / 0.7089 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.601, allocations: 23.98 kB / 0.7089 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.601, allocations: 7.938 kB / 0.7089 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.601, allocations: 7.984 kB / 0.7089 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.601, allocations: 3.938 kB / 0.7089 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.601, allocations: 4 kB / 0.7089 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.6012, allocations: 221.2 kB / 0.7091 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.6013, allocations: 108.9 kB / 0.7092 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.6014, allocations: 7.953 kB / 0.7093 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.6016, allocations: 8 kB / 0.7093 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.6016, allocations: 7.984 kB / 0.7093 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.6016, allocations: 15.92 kB / 0.7093 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001378/0.6018, allocations: 152.5 kB / 0.7094 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.6018, allocations: 0 / 0.7094 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004776/0.6022, allocations: 95.86 kB / 0.7095 GB, free: 3.32 MB / 0.5137 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.0007374/0.603, allocations: 0.8175 MB / 0.7103 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.6033, allocations: 169.5 kB / 0.7105 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6033, allocations: 0 / 0.7105 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.543e-05/0.6033, allocations: 36.48 kB / 0.7105 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.6038, allocations: 50.41 kB / 0.7106 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.6069, allocations: 2.727 MB / 0.7132 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.6073, allocations: 0.7323 MB / 0.7139 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002088/0.6075, allocations: 50.98 kB / 0.714 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.6076, allocations: 67.41 kB / 0.7141 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of SimCode: time 8.32e-07/0.6076, allocations: 0 / 0.7141 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.6362, allocations: 5.365 MB / 0.7193 GB, free: 9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.212/8.848, allocations: 12.39 kB / 0.7193 GB, free: 8.992 MB / 0.5294 GB " [Timeout remaining time 651] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.01102760573849]