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/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_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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001318/0.001318, allocations: 191.3 kB / 7.803 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0009321/0.0009319, allocations: 93.94 kB / 261.4 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2091/0.2091, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2303/0.4395, allocations: 64.97 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.8004, allocations: 58.84 MB / 476.6 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.9432, allocations: 87.41 MB / 0.5508 GB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.9435, allocations: 63.97 kB / 0.5509 GB, free: 11.44 MB / 394.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.02068/0.9642, allocations: 6.751 MB / 0.5575 GB, free: 4.617 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.9643, allocations: 12 kB / 0.5575 GB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.9644, allocations: 35.62 kB / 0.5575 GB, free: 4.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005839/0.965, allocations: 279 kB / 0.5578 GB, free: 4.258 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.9651, allocations: 8 kB / 0.5578 GB, free: 4.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.9651, allocations: 12 kB / 0.5578 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005254/0.9656, allocations: 188.9 kB / 0.558 GB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.9661, allocations: 195 kB / 0.5582 GB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.9661, allocations: 0 / 0.5582 GB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.9661, allocations: 0 / 0.5582 GB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.9662, allocations: 11.98 kB / 0.5582 GB, free: 3.844 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.9678, allocations: 0.8277 MB / 0.559 GB, free: 2.965 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007531/0.9686, allocations: 298.2 kB / 0.5593 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.9688, allocations: 116.9 kB / 0.5594 GB, free: 2.547 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.264e-05/0.9689, allocations: 4 kB / 0.5594 GB, free: 2.543 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.9689, allocations: 42.5 kB / 0.5594 GB, free: 2.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.9689, allocations: 0 / 0.5594 GB, free: 2.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.001976/0.9709, allocations: 472.8 kB / 0.5599 GB, free: 2.012 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.9709, allocations: 59.41 kB / 0.56 GB, free: 1.941 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.9712, allocations: 183.8 kB / 0.5601 GB, free: 1.754 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.9712, allocations: 25.7 kB / 0.5602 GB, free: 1.723 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.9714, allocations: 136.9 kB / 0.5603 GB, free: 1.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.073e-05/0.9715, allocations: 102.5 kB / 0.5604 GB, free: 1.484 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/0.9715, allocations: 0 / 0.5604 GB, free: 1.484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.9716, allocations: 330.8 kB / 0.5607 GB, free: 1.152 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.9718, allocations: 75.98 kB / 0.5608 GB, free: 1.078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.972, allocations: 105.8 kB / 0.5609 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.9722, allocations: 81.38 kB / 0.5609 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.9722, allocations: 3.938 kB / 0.561 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001866/0.9741, allocations: 0.4906 MB / 0.5614 GB, free: 384 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.9741, allocations: 6.812 kB / 0.5614 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.9741, allocations: 0 / 0.5614 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001884/0.976, allocations: 319.1 kB / 0.5617 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.9762, allocations: 31.97 kB / 0.5618 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007432/0.9837, allocations: 6.067 MB / 0.5677 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.984, allocations: 27.67 kB / 0.5677 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.984, allocations: 8 kB / 0.5677 GB, free: 9.449 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderRadialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderAxialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cuboid.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: genericFluxTube.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real 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 () * 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.0002665/0.9843, allocations: 120.1 kB / 0.5678 GB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.9845, allocations: 31.61 kB / 0.5679 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.9863, allocations: 0.492 MB / 0.5684 GB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.9863, allocations: 0 / 0.5684 GB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.9864, allocations: 4 kB / 0.5684 GB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.9864, allocations: 3.984 kB / 0.5684 GB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.9868, allocations: 301.8 kB / 0.5687 GB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.9869, allocations: 0 / 0.5687 GB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.987, allocations: 27.98 kB / 0.5687 GB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/0.9887, allocations: 319.2 kB / 0.569 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.9887, allocations: 0 / 0.569 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007835/0.9966, allocations: 6.002 MB / 0.5748 GB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.9966, allocations: 4.062 kB / 0.5748 GB, free: 1.629 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001876/0.9985, allocations: 0.5724 MB / 0.5754 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001911/1, allocations: 0.9482 MB / 0.5763 GB, free: 48 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/1.001, allocations: 100.8 kB / 0.5764 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/1.001, allocations: 4 kB / 0.5764 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/1.001, allocations: 11.98 kB / 0.5764 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/1.001, allocations: 15.97 kB / 0.5765 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/1.001, allocations: 8 kB / 0.5765 GB, free: 15.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001437/1.001, allocations: 144.5 kB / 0.5766 GB, free: 15.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00115/1.002, allocations: 111.7 kB / 0.5767 GB, free: 15.64 MB / 426.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 () * 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 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002298/1.002, allocations: 107.2 kB / 0.5768 GB, free: 15.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001221/1.004, allocations: 0.6396 MB / 0.5774 GB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.004, allocations: 0 / 0.5774 GB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/1.005, allocations: 0.5654 MB / 0.578 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/1.005, allocations: 12.44 kB / 0.578 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/1.006, allocations: 376.6 kB / 0.5784 GB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004898/1.007, allocations: 0.7868 MB / 0.5791 GB, free: 13.02 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/1.007, allocations: 0 / 0.5791 GB, free: 13.02 MB / 426.7 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) 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