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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00162/0.00162, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002359/0.002359, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 82.05 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1149, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3746/0.4895, allocations: 139 MB / 0.6046 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006159/0.4957, allocations: 4.728 MB / 0.6092 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.496, allocations: 7.938 kB / 0.6092 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004592/0.4965, allocations: 63.59 kB / 0.6093 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002193/0.4987, allocations: 0.7228 MB / 0.61 GB, free: 2.734 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.4991, allocations: 161.7 kB / 0.6102 GB, free: 2.582 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006797/0.4998, allocations: 382.1 kB / 0.6105 GB, free: 2.207 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.885e-05/0.4999, allocations: 17.67 kB / 0.6105 GB, free: 2.191 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.5002, allocations: 155.5 kB / 0.6107 GB, free: 2.039 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.5006, allocations: 187.4 kB / 0.6109 GB, free: 1.855 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.197e-05/0.5007, allocations: 8 kB / 0.6109 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.5021, allocations: 0.6864 MB / 0.6116 GB, free: 1.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.5023, allocations: 51.8 kB / 0.6116 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.5024, allocations: 107.5 kB / 0.6117 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.5035, allocations: 469.1 kB / 0.6122 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.5035, allocations: 0 / 0.6122 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5035, allocations: 0 / 0.6122 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.5036, allocations: 4 kB / 0.6122 GB, free: 0.543 MB / 446.1 MB 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.001189/0.5047, allocations: 0.5936 MB / 0.6127 GB, free: 15.9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.5048, allocations: 8.031 kB / 0.6127 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.2e-05/0.5049, allocations: 66.72 kB / 0.6128 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.505, allocations: 20.75 kB / 0.6128 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.5053, allocations: 228 kB / 0.613 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.5054, allocations: 131.9 kB / 0.6132 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.5055, allocations: 20.38 kB / 0.6132 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004965/0.506, allocations: 326.8 kB / 0.6135 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.506, allocations: 0 / 0.6135 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.506, allocations: 16 kB / 0.6135 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.5061, allocations: 11.92 kB / 0.6135 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007755/0.5069, allocations: 0.7352 MB / 0.6142 GB, free: 14.25 MB / 462.1 MB 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.001446/0.5083, allocations: 1.222 MB / 0.6154 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.5087, allocations: 175.7 kB / 0.6156 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.5089, allocations: 97.41 kB / 0.6157 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002559/0.5115, allocations: 2.695 MB / 0.6183 GB, free: 9.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.5115, allocations: 34.56 kB / 0.6184 GB, free: 9.387 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.5115, allocations: 0 / 0.6184 GB, free: 9.387 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006679/0.5122, allocations: 224.3 kB / 0.6186 GB, free: 9.164 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.5122, allocations: 51.41 kB / 0.6186 GB, free: 9.102 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.5124, allocations: 216.1 kB / 0.6188 GB, free: 8.883 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.5125, allocations: 33.64 kB / 0.6189 GB, free: 8.844 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.5126, allocations: 222.7 kB / 0.6191 GB, free: 8.617 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.5126, allocations: 47.36 kB / 0.6191 GB, free: 8.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.5127, allocations: 89.97 kB / 0.6192 GB, free: 8.477 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5129, allocations: 326.8 kB / 0.6195 GB, free: 8.148 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-05/0.513, allocations: 48.84 kB / 0.6196 GB, free: 8.102 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.5133, allocations: 321.2 kB / 0.6199 GB, free: 7.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/0.5137, allocations: 420.3 kB / 0.6203 GB, free: 7.117 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.5137, allocations: 4 kB / 0.6203 GB, free: 7.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005909/0.5143, allocations: 377.5 kB / 0.6206 GB, free: 6.738 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.5144, allocations: 8 kB / 0.6206 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.5144, allocations: 16.12 kB / 0.6207 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.5144, allocations: 15.94 kB / 0.6207 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.5148, allocations: 107.8 kB / 0.6208 GB, free: 6.594 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.5148, allocations: 15.94 kB / 0.6208 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.515, allocations: 16 kB / 0.6208 GB, free: 6.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.5151, allocations: 31.98 kB / 0.6208 GB, free: 6.531 MB / 462.1 MB 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.0001403/0.5152, allocations: 149.5 kB / 0.621 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.5153, allocations: 23.81 kB / 0.621 GB, free: 6.352 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.5156, allocations: 152.3 kB / 0.6211 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.5157, allocations: 4 kB / 0.6212 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5157, allocations: 0 / 0.6212 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.5157, allocations: 0 / 0.6212 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005714/0.5163, allocations: 447.5 kB / 0.6216 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5163, allocations: 4 kB / 0.6216 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.5164, allocations: 35.91 kB / 0.6216 GB, free: 5.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.5165, allocations: 7.938 kB / 0.6216 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.5165, allocations: 0 / 0.6216 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5165, allocations: 0 / 0.6216 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5165, allocations: 4 kB / 0.6216 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.5167, allocations: 225 kB / 0.6218 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-05/0.5168, allocations: 100.8 kB / 0.6219 GB, free: 5.289 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.5169, allocations: 4 kB / 0.6219 GB, free: 5.285 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.5171, allocations: 11.98 kB / 0.622 GB, free: 5.273 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.5171, allocations: 7.984 kB / 0.622 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.5172, allocations: 12 kB / 0.622 GB, free: 5.254 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.5173, allocations: 152.5 kB / 0.6221 GB, free: 5.102 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5173, allocations: 0 / 0.6221 GB, free: 5.102 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005134/0.5178, allocations: 95.94 kB / 0.6222 GB, free: 5.008 MB / 462.1 MB 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.0007689/0.5186, allocations: 0.8148 MB / 0.623 GB, free: 4.164 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003389/0.5189, allocations: 186 kB / 0.6232 GB, free: 3.984 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.519, allocations: 0 / 0.6232 GB, free: 3.984 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/0.519, allocations: 35.98 kB / 0.6232 GB, free: 3.949 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.5195, allocations: 44.77 kB / 0.6233 GB, free: 3.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.5225, allocations: 2.726 MB / 0.6259 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.5228, allocations: 0.7245 MB / 0.6266 GB, free: 84 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003016/0.5231, allocations: 62.91 kB / 0.6267 GB, free: 20 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.5232, allocations: 59.58 kB / 0.6267 GB, free: 15.96 MB / 478.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5232, allocations: 0 / 0.6267 GB, free: 15.96 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.547, allocations: 5.286 MB / 0.6319 GB, free: 10.77 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.369, allocations: 4 kB / 0.6319 GB, free: 10.76 MB / 478.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches