Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00163/0.001633, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 98.78 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2972/0.2972, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006999/0.0007002, allocations: 8 kB / 431.5 MB, free: 20.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1596, allocations: 58.86 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.003579/0.1632, allocations: 1.914 MB / 492.2 MB, free: 7.316 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.1652, allocations: 0.765 MB / 493 MB, free: 6.543 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.1655, allocations: 4 kB / 493 MB, free: 6.539 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.1657, allocations: 43.69 kB / 493.1 MB, free: 6.496 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.166, allocations: 95.69 kB / 493.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.1664, allocations: 67.91 kB / 493.2 MB, free: 6.336 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.1669, allocations: 215.5 kB / 493.4 MB, free: 6.125 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.1671, allocations: 73.12 kB / 493.5 MB, free: 6.055 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.1674, allocations: 119.6 kB / 493.6 MB, free: 5.938 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.1677, allocations: 131.4 kB / 493.7 MB, free: 5.809 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.375e-05/0.1678, allocations: 16 kB / 493.8 MB, free: 5.793 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.1678, allocations: 16 kB / 493.8 MB, free: 5.777 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.979e-05/0.1679, allocations: 43.83 kB / 493.8 MB, free: 5.734 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.168, allocations: 77.52 kB / 493.9 MB, free: 5.652 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.1684, allocations: 267.5 kB / 494.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1685, allocations: 0 / 494.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1685, allocations: 3.938 kB / 494.2 MB, free: 5.387 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1685, allocations: 0 / 494.2 MB, free: 5.387 MB / 330.7 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.001532/0.17, allocations: 0.5689 MB / 494.7 MB, free: 4.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.1701, allocations: 8.031 kB / 494.7 MB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.1702, allocations: 62.53 kB / 494.8 MB, free: 4.691 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.1703, allocations: 35.58 kB / 494.8 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.1708, allocations: 258.4 kB / 495.1 MB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.1708, allocations: 28.5 kB / 495.1 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-05/0.1709, allocations: 24 kB / 495.1 MB, free: 4.312 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008198/0.1718, allocations: 240.9 kB / 495.4 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1718, allocations: 4 kB / 495.4 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.249e-05/0.1718, allocations: 8 kB / 495.4 MB, free: 4.059 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.1719, allocations: 8 kB / 495.4 MB, free: 4.051 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008889/0.1728, allocations: 238.1 kB / 495.6 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002449/0.1752, allocations: 0.8754 MB / 496.5 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.1767, allocations: 346.8 kB / 496.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.842e-05/0.1768, allocations: 11.98 kB / 496.8 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.1768, allocations: 34.56 kB / 496.9 MB, free: 2.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 3.847e-06/0.1768, allocations: 0 / 496.9 MB, free: 2.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.008255/0.1851, allocations: 1.254 MB / 498.1 MB, free: 1.129 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.1852, allocations: 55.41 kB / 498.2 MB, free: 1.062 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/0.1856, allocations: 212.9 kB / 498.4 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.997e-05/0.1856, allocations: 33.7 kB / 498.4 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.1858, allocations: 215.6 kB / 498.6 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.186, allocations: 114.3 kB / 498.7 MB, free: 496 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.186, allocations: 4 kB / 498.8 MB, free: 492 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1862, allocations: 326.8 kB / 499.1 MB, free: 156 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/0.1866, allocations: 95.95 kB / 499.2 MB, free: 60 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.1871, allocations: 125.8 kB / 499.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.1875, allocations: 117.3 kB / 499.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1876, allocations: 0 / 499.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003348/0.1909, allocations: 0.5485 MB / 499.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.191, allocations: 10.64 kB / 500 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.191, allocations: 0 / 500 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002984/0.194, allocations: 319.1 kB / 0.4885 GB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.1944, allocations: 27.97 kB / 0.4886 GB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.2063, allocations: 6.404 MB / 0.4948 GB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.2068, allocations: 27.86 kB / 0.4949 GB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.2069, allocations: 20.02 kB / 0.4949 GB, free: 7.902 MB / 346.7 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.000237/0.2071, allocations: 133.8 kB / 0.495 GB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/0.2072, allocations: 23.72 kB / 0.495 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/0.2103, allocations: 0.558 MB / 0.4956 GB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.2104, allocations: 4 kB / 0.4956 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2104, allocations: 0 / 0.4956 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.2104, allocations: 0 / 0.4956 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007336/0.2112, allocations: 361.2 kB / 0.4959 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.2112, allocations: 4 kB / 0.4959 GB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.2114, allocations: 19.98 kB / 0.4959 GB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002761/0.2142, allocations: 323.5 kB / 0.4962 GB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.783e-05/0.2143, allocations: 4 kB / 0.4963 GB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/0.2263, allocations: 6.46 MB / 0.5026 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.2263, allocations: 3.938 kB / 0.5026 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003192/0.2295, allocations: 0.6196 MB / 0.5032 GB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.2297, allocations: 104.8 kB / 0.5033 GB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-05/0.2298, allocations: 12 kB / 0.5033 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.2302, allocations: 15.94 kB / 0.5033 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.2304, allocations: 39.89 kB / 0.5033 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.2304, allocations: 4 kB / 0.5033 GB, free: 14.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002924/0.2307, allocations: 156.5 kB / 0.5035 GB, free: 14.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2307, allocations: 0 / 0.5035 GB, free: 14.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007688/0.2315, allocations: 123.8 kB / 0.5036 GB, free: 14.29 MB / 362.7 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.003553/0.2351, allocations: 1.164 MB / 0.5047 GB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.237, allocations: 0.7484 MB / 0.5055 GB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.237, allocations: 0 / 0.5055 GB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002164/0.2392, allocations: 0.7216 MB / 0.5062 GB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.2396, allocations: 32.31 kB / 0.5062 GB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006464/0.2461, allocations: 1.953 MB / 0.5081 GB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.2467, allocations: 0.7794 MB / 0.5089 GB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.247, allocations: 75.47 kB / 0.5089 GB, free: 8.574 MB / 362.7 MB Notification: Performance of SimCode: time 4.308e-06/0.247, allocations: 0 / 0.5089 GB, free: 8.574 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.107/3.354, allocations: 8.634 MB / 0.5174 GB, free: 43.34 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat