Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",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 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 174.8 kB / 8.518 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 221.4 MB / 230.3 MB, free: 7.645 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009806/0.0009804, allocations: 90.47 kB / 281.2 MB, free: 5.434 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1631/0.1631, allocations: 44.15 MB / 376.1 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.189/0.3521, allocations: 68.04 MB / 444.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.4559, allocations: 61.9 MB / 0.4942 GB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2656/0.7216, allocations: 86.13 MB / 0.5783 GB, free: 10.33 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.7218, allocations: 63.97 kB / 0.5783 GB, free: 10.27 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.004782/0.7266, allocations: 1.861 MB / 0.5802 GB, free: 8.371 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.7266, allocations: 15.94 kB / 0.5802 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.7267, allocations: 11.91 kB / 0.5802 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.7269, allocations: 182.8 kB / 0.5804 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.7269, allocations: 4 kB / 0.5804 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.7269, allocations: 4 kB / 0.5804 GB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001571/0.7271, allocations: 52 kB / 0.5804 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.7273, allocations: 78.48 kB / 0.5805 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.7273, allocations: 0 / 0.5805 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.7273, allocations: 8 kB / 0.5805 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.7273, allocations: 0 / 0.5805 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008099/0.7281, allocations: 459.6 kB / 0.5809 GB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.7282, allocations: 54.58 kB / 0.581 GB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.508e-05/0.7283, allocations: 36.98 kB / 0.581 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.7284, allocations: 0 / 0.581 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.7284, allocations: 38.55 kB / 0.5811 GB, free: 7.336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.7284, allocations: 0 / 0.5811 GB, free: 7.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002605/0.7287, allocations: 82.39 kB / 0.5811 GB, free: 7.246 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.7287, allocations: 55.41 kB / 0.5812 GB, free: 7.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.144e-05/0.7288, allocations: 101.2 kB / 0.5813 GB, free: 7.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.7288, allocations: 32.44 kB / 0.5813 GB, free: 7.035 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.7289, allocations: 107.8 kB / 0.5814 GB, free: 6.926 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.7289, allocations: 19.75 kB / 0.5814 GB, free: 6.906 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.7289, allocations: 0 / 0.5814 GB, free: 6.906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.505e-05/0.729, allocations: 326.7 kB / 0.5818 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.729, allocations: 8 kB / 0.5818 GB, free: 6.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.7291, allocations: 29.72 kB / 0.5818 GB, free: 6.535 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.228e-05/0.7291, allocations: 16.06 kB / 0.5818 GB, free: 6.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.7291, allocations: 0 / 0.5818 GB, free: 6.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001727/0.7293, allocations: 102.4 kB / 0.5819 GB, free: 6.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.7293, allocations: 4 kB / 0.5819 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.7293, allocations: 384 / 0.5819 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.7294, allocations: 24.84 kB / 0.5819 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.7296, allocations: 32 kB / 0.582 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.7306, allocations: 1.242 MB / 0.5832 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.7307, allocations: 35.81 kB / 0.5832 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.7308, allocations: 4 kB / 0.5832 GB, free: 4.949 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/0.7308, allocations: 105 kB / 0.5833 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.7309, allocations: 3.906 kB / 0.5833 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.7309, allocations: 16.36 kB / 0.5833 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.7309, allocations: 0 / 0.5833 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.7309, allocations: 0 / 0.5833 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.7309, allocations: 0 / 0.5833 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.7313, allocations: 348.7 kB / 0.5837 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7313, allocations: 0 / 0.5837 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.7314, allocations: 23.92 kB / 0.5837 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.874e-05/0.7315, allocations: 32.78 kB / 0.5837 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.7315, allocations: 0 / 0.5837 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007562/0.7323, allocations: 1.245 MB / 0.5849 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.7323, allocations: 0 / 0.5849 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000194/0.7325, allocations: 195.7 kB / 0.5851 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002674/0.7328, allocations: 0.5696 MB / 0.5857 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.7328, allocations: 85.02 kB / 0.5858 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.7328, allocations: 0 / 0.5858 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.733, allocations: 19.98 kB / 0.5858 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.733, allocations: 11.98 kB / 0.5858 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.733, allocations: 4 kB / 0.5858 GB, free: 2.055 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.788e-05/0.7331, allocations: 83.28 kB / 0.5859 GB, free: 1.973 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008234/0.7339, allocations: 31.78 kB / 0.5859 GB, free: 1.941 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 3 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.96e-05/0.734, allocations: 95.25 kB / 0.586 GB, free: 1.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.7342, allocations: 137.8 kB / 0.5861 GB, free: 1.695 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7342, allocations: 0 / 0.5861 GB, free: 1.695 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.7344, allocations: 125.8 kB / 0.5862 GB, free: 1.562 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.7345, allocations: 4 kB / 0.5862 GB, free: 1.559 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.7348, allocations: 132.8 kB / 0.5864 GB, free: 1.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.7351, allocations: 0.7068 MB / 0.5871 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of SimCode: time 1.432e-06/0.7351, allocations: 3.938 kB / 0.5871 GB, free: 0.668 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat does not exist to compare? outputFormat=mat