Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007937/0.0007936, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009248/0.0009249, allocations: 175.4 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 222.8 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3659/0.3659, allocations: 43.55 MB / 314.6 MB, free: 9.023 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005102/0.0005102, allocations: 16 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1312, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.002528/0.1338, allocations: 2.007 MB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.135, allocations: 0.757 MB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.1351, allocations: 4 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.1353, allocations: 39.64 kB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.1355, allocations: 87.42 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.1358, allocations: 75.92 kB / 445.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.1361, allocations: 310.8 kB / 446.1 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.1363, allocations: 69.12 kB / 446.2 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.1364, allocations: 115.6 kB / 446.3 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.1366, allocations: 135.4 kB / 446.5 MB, free: 9.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.1367, allocations: 16 kB / 446.5 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.001e-05/0.1367, allocations: 19.94 kB / 446.5 MB, free: 9.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.1368, allocations: 51.77 kB / 446.5 MB, free: 9.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.043e-05/0.1369, allocations: 73.58 kB / 446.6 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.1371, allocations: 263.5 kB / 446.9 MB, free: 9.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.1371, allocations: 4 kB / 446.9 MB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.1372, allocations: 0 / 446.9 MB, free: 9.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1372, allocations: 0 / 446.9 MB, free: 9.164 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009962/0.1382, allocations: 0.569 MB / 447.4 MB, free: 8.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1382, allocations: 8.031 kB / 447.5 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.528e-05/0.1383, allocations: 62.48 kB / 447.5 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.303e-05/0.1384, allocations: 39.48 kB / 447.6 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.1387, allocations: 246.5 kB / 447.8 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.1387, allocations: 16.56 kB / 447.8 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.1387, allocations: 24 kB / 447.8 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.1392, allocations: 248.8 kB / 448.1 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1393, allocations: 11.94 kB / 448.1 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.1393, allocations: 8 kB / 448.1 MB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.1393, allocations: 8 kB / 448.1 MB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/0.1398, allocations: 242.1 kB / 448.3 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.1411, allocations: 0.8792 MB / 449.2 MB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.1417, allocations: 310.8 kB / 449.5 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.1419, allocations: 156.8 kB / 449.7 MB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.142, allocations: 3.984 kB / 449.7 MB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.142, allocations: 38.5 kB / 449.7 MB, free: 6.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.372e-06/0.142, allocations: 0 / 449.7 MB, free: 6.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.003972/0.146, allocations: 1.254 MB / 451 MB, free: 4.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.1461, allocations: 67.33 kB / 451 MB, free: 4.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.1463, allocations: 209 kB / 451.2 MB, free: 4.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.1463, allocations: 33.7 kB / 451.3 MB, free: 4.453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1464, allocations: 157.1 kB / 451.4 MB, free: 4.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.831e-05/0.1465, allocations: 114.4 kB / 451.5 MB, free: 4.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/0.1465, allocations: 4 kB / 451.5 MB, free: 4.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1467, allocations: 338.8 kB / 451.9 MB, free: 3.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.1469, allocations: 103.8 kB / 452 MB, free: 3.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.1472, allocations: 125.8 kB / 452.1 MB, free: 3.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.1474, allocations: 109.3 kB / 452.2 MB, free: 3.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1474, allocations: 4 kB / 452.2 MB, free: 3.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001557/0.149, allocations: 0.5445 MB / 452.8 MB, free: 2.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.149, allocations: 4 kB / 452.8 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.149, allocations: 0 / 452.8 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.1506, allocations: 319.1 kB / 453.1 MB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.1507, allocations: 27.98 kB / 453.1 MB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2497/0.4005, allocations: 6.312 MB / 459.4 MB, free: 42.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.4008, allocations: 33.95 kB / 459.4 MB, free: 42.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.4008, allocations: 12.69 kB / 459.5 MB, free: 42.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001513/0.401, allocations: 138.8 kB / 459.6 MB, free: 42.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.401, allocations: 27.09 kB / 459.6 MB, free: 42.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.4025, allocations: 0.5575 MB / 460.2 MB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4025, allocations: 2.719 kB / 460.2 MB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.4026, allocations: 3.5 kB / 460.2 MB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.4026, allocations: 6.547 kB / 460.2 MB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.4029, allocations: 360.8 kB / 460.5 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4029, allocations: 0 / 460.5 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.403, allocations: 22.95 kB / 460.6 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.4043, allocations: 312.5 kB / 460.9 MB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.4043, allocations: 6.312 kB / 460.9 MB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005049/0.4094, allocations: 6.358 MB / 467.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.4094, allocations: 2.812 kB / 467.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.4109, allocations: 0.6309 MB / 467.9 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.4109, allocations: 108.2 kB / 468 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.411, allocations: 10.23 kB / 468 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.4111, allocations: 11.78 kB / 468 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.4113, allocations: 33.78 kB / 468 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.4113, allocations: 3.828 kB / 468 MB, free: 36.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.4114, allocations: 166.9 kB / 468.2 MB, free: 36.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.192e-06/0.4114, allocations: 0 / 468.2 MB, free: 36.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005174/0.412, allocations: 124.1 kB / 468.3 MB, free: 36.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 4,2 4,2 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001687/0.4136, allocations: 1.158 MB / 469.5 MB, free: 36.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008803/0.4145, allocations: 0.7512 MB / 470.2 MB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4146, allocations: 0 / 470.2 MB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008972/0.4155, allocations: 0.7283 MB / 471 MB, free: 35.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.4158, allocations: 29.72 kB / 471 MB, free: 35.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.4188, allocations: 1.783 MB / 472.8 MB, free: 34.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.419, allocations: 0.7777 MB / 473.5 MB, free: 33.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.619e-05/0.4191, allocations: 19.42 kB / 473.6 MB, free: 33.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.4192, allocations: 75.73 kB / 473.6 MB, free: 33.83 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4193, allocations: 1.219 kB / 473.6 MB, free: 33.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.4411, allocations: 9.639 MB / 483.3 MB, free: 33.02 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/0.4413, allocations: 211.2 kB / 483.5 MB, free: 32.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/2.511, allocations: 0 / 483.5 MB, free: 32.77 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat