Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.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.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",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.0009431/0.0009431, allocations: 95.89 kB / 15.68 MB, free: 488 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.001059/0.001059, allocations: 175.1 kB / 16.56 MB, free: 6.379 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.848/1.848, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.4387/0.4387, allocations: 43.55 MB / 314.5 MB, free: 8.773 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.0005579/0.0005582, allocations: 22.97 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1445, allocations: 58.85 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003247/0.1478, allocations: 2.39 MB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.1492, allocations: 0.7574 MB / 446 MB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.1494, allocations: 7.938 kB / 446 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.241e-05/0.1494, allocations: 35.69 kB / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.1497, allocations: 115.6 kB / 446.2 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.15, allocations: 87.83 kB / 446.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004967/0.1505, allocations: 303.7 kB / 446.5 MB, free: 9.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.1508, allocations: 130.5 kB / 446.7 MB, free: 9.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.1511, allocations: 155.4 kB / 446.8 MB, free: 8.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.1513, allocations: 171.3 kB / 447 MB, free: 8.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.1514, allocations: 20 kB / 447 MB, free: 8.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.735e-05/0.1514, allocations: 27.94 kB / 447 MB, free: 8.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.1515, allocations: 63.73 kB / 447.1 MB, free: 8.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.407e-05/0.1516, allocations: 93.52 kB / 447.2 MB, free: 8.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.152, allocations: 339 kB / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.152, allocations: 0 / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.152, allocations: 0 / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.152, allocations: 0 / 447.5 MB, free: 8.277 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001316/0.1533, allocations: 0.6434 MB / 448.2 MB, free: 7.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.1534, allocations: 8.031 kB / 448.2 MB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.357e-05/0.1535, allocations: 74.53 kB / 448.2 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.907e-05/0.1536, allocations: 43.53 kB / 448.3 MB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.1539, allocations: 278.3 kB / 448.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.154, allocations: 32.95 kB / 448.6 MB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.87e-05/0.1541, allocations: 36 kB / 448.6 MB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006365/0.1547, allocations: 342.5 kB / 449 MB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.1547, allocations: 0 / 449 MB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.12e-05/0.1548, allocations: 16 kB / 449 MB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.1548, allocations: 12 kB / 449 MB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006222/0.1554, allocations: 307.8 kB / 449.3 MB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.1577, allocations: 1.353 MB / 450.6 MB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.1582, allocations: 273 kB / 450.9 MB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.1582, allocations: 8.234 kB / 450.9 MB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.1583, allocations: 38.84 kB / 450.9 MB, free: 4.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.453e-06/0.1583, allocations: 3.938 kB / 451 MB, free: 4.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008704/0.1592, allocations: 395 kB / 451.3 MB, free: 4.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.1592, allocations: 55.41 kB / 451.4 MB, free: 4.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.1595, allocations: 262.7 kB / 451.6 MB, free: 3.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.1596, allocations: 29.7 kB / 451.7 MB, free: 3.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.1598, allocations: 203.9 kB / 451.9 MB, free: 3.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.1599, allocations: 122.2 kB / 452 MB, free: 3.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.1599, allocations: 8 kB / 452 MB, free: 3.535 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.1601, allocations: 334.8 kB / 452.3 MB, free: 3.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.1604, allocations: 112.8 kB / 452.4 MB, free: 3.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.1607, allocations: 175.4 kB / 452.6 MB, free: 2.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.161, allocations: 133.5 kB / 452.7 MB, free: 2.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.161, allocations: 0 / 452.7 MB, free: 2.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007203/0.1618, allocations: 374.9 kB / 453.1 MB, free: 2.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.1618, allocations: 7.953 kB / 453.1 MB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1618, allocations: 4 kB / 453.1 MB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1618, allocations: 4.219 kB / 453.1 MB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.1623, allocations: 111.8 kB / 453.2 MB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.1624, allocations: 4 kB / 453.2 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.1627, allocations: 51.52 kB / 453.3 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.1627, allocations: 11.98 kB / 453.3 MB, free: 2.199 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.1629, allocations: 157.7 kB / 453.5 MB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.163, allocations: 27.62 kB / 453.5 MB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006811/0.1636, allocations: 340.3 kB / 453.8 MB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1637, allocations: 4 kB / 453.8 MB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1637, allocations: 0 / 453.8 MB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1637, allocations: 0 / 453.8 MB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.1642, allocations: 401.2 kB / 454.2 MB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1642, allocations: 0 / 454.2 MB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000409/0.1646, allocations: 87.88 kB / 454.3 MB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.1647, allocations: 4 kB / 454.3 MB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.1647, allocations: 4 kB / 454.3 MB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1647, allocations: 3.953 kB / 454.3 MB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1647, allocations: 4 kB / 454.3 MB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000885/0.1656, allocations: 0.5299 MB / 454.8 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.1657, allocations: 132.6 kB / 455 MB, free: 440 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.1658, allocations: 8 kB / 455 MB, free: 432 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.166, allocations: 16.06 kB / 455 MB, free: 416 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-05/0.1661, allocations: 23.92 kB / 455 MB, free: 392 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.1661, allocations: 15.98 kB / 455 MB, free: 376 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00018/0.1663, allocations: 186 kB / 455.2 MB, free: 188 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1663, allocations: 0 / 455.2 MB, free: 188 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003599/0.1667, allocations: 95.75 kB / 455.3 MB, free: 92 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.271/0.4377, allocations: 1.062 MB / 456.4 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005915/0.4383, allocations: 287.9 kB / 456.7 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4383, allocations: 2.297 kB / 456.7 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.4386, allocations: 144.8 kB / 456.8 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.4389, allocations: 29.12 kB / 456.8 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.4418, allocations: 3.079 MB / 459.9 MB, free: 43.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.4421, allocations: 0.7898 MB / 460.7 MB, free: 43.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001891/0.4423, allocations: 40.56 kB / 460.7 MB, free: 43.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.4424, allocations: 106.2 kB / 460.8 MB, free: 43.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4424, allocations: 0 / 460.8 MB, free: 43.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.459, allocations: 5.144 MB / 466 MB, free: 42.66 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.4592, allocations: 178.3 kB / 466.2 MB, free: 42.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.346, allocations: 0 / 466.2 MB, free: 42.42 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat