Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.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.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_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.001018/0.001018, allocations: 171.4 kB / 8.514 MB, free: 1.852 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.238/1.238, allocations: 221.4 MB / 230.3 MB, free: 7.637 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.0009139/0.0009136, allocations: 102.1 kB / 281.2 MB, free: 5.449 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.1729/0.1729, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1942/0.3671, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.4677, allocations: 61.91 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2864/0.7541, allocations: 89.32 MB / 0.5814 GB, free: 7.383 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.7543, allocations: 79.78 kB / 0.5815 GB, free: 7.309 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.02243/0.7768, allocations: 9.388 MB / 0.5906 GB, free: 13.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.7769, allocations: 13.19 kB / 0.5907 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/0.7773, allocations: 59.67 kB / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.7774, allocations: 186.7 kB / 0.5909 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.7775, allocations: 8 kB / 0.5909 GB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.7775, allocations: 15.98 kB / 0.5909 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003199/0.7778, allocations: 165 kB / 0.5911 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.7782, allocations: 229.5 kB / 0.5913 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.7782, allocations: 0 / 0.5913 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.7783, allocations: 0 / 0.5913 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.7783, allocations: 4 kB / 0.5913 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.7798, allocations: 0.9696 MB / 0.5922 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.78, allocations: 165.2 kB / 0.5924 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.7802, allocations: 101.6 kB / 0.5925 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.7803, allocations: 85.09 kB / 0.5926 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.7803, allocations: 38.56 kB / 0.5926 GB, free: 11.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.7803, allocations: 0 / 0.5926 GB, free: 11.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005436/0.7809, allocations: 193.7 kB / 0.5928 GB, free: 11.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.7809, allocations: 85.05 kB / 0.5929 GB, free: 11.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.333e-05/0.781, allocations: 111.2 kB / 0.593 GB, free: 11.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.781, allocations: 25.7 kB / 0.593 GB, free: 11.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.7811, allocations: 144.1 kB / 0.5931 GB, free: 11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.7812, allocations: 71.03 kB / 0.5932 GB, free: 10.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.7812, allocations: 0 / 0.5932 GB, free: 10.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.7813, allocations: 330.8 kB / 0.5935 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/0.7814, allocations: 44 kB / 0.5936 GB, free: 10.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.864e-05/0.7815, allocations: 81.09 kB / 0.5936 GB, free: 10.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.7816, allocations: 63.98 kB / 0.5937 GB, free: 10.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7816, allocations: 0 / 0.5937 GB, free: 10.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004211/0.7821, allocations: 219 kB / 0.5939 GB, free: 10.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.7821, allocations: 10.33 kB / 0.5939 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7821, allocations: 0 / 0.5939 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.7823, allocations: 49.94 kB / 0.594 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.7825, allocations: 51.91 kB / 0.594 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.7842, allocations: 2.532 MB / 0.5965 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.7843, allocations: 35.92 kB / 0.5965 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.7844, allocations: 4 kB / 0.5965 GB, free: 7.254 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.181e-05/0.7844, allocations: 112.9 kB / 0.5966 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.7845, allocations: 15.81 kB / 0.5967 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004488/0.785, allocations: 208 kB / 0.5969 GB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.785, allocations: 0 / 0.5969 GB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.785, allocations: 4 kB / 0.5969 GB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.785, allocations: 0 / 0.5969 GB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008461/0.7859, allocations: 0.5606 MB / 0.5974 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7859, allocations: 0 / 0.5974 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.7861, allocations: 44.03 kB / 0.5975 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001208/0.7862, allocations: 49.61 kB / 0.5975 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.7862, allocations: 4 kB / 0.5975 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.7877, allocations: 2.508 MB / 0.6 GB, free: 3.441 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.7877, allocations: 4.062 kB / 0.6 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005334/0.7883, allocations: 496.8 kB / 0.6004 GB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007179/0.789, allocations: 0.9098 MB / 0.6013 GB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.789, allocations: 88.95 kB / 0.6014 GB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.7891, allocations: 7.984 kB / 0.6014 GB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.7893, allocations: 20.05 kB / 0.6014 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.7894, allocations: 23.83 kB / 0.6015 GB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.7894, allocations: 4 kB / 0.6015 GB, free: 1.789 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.065e-05/0.7894, allocations: 95.27 kB / 0.6015 GB, free: 1.695 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001002/0.7904, allocations: 67.84 kB / 0.6016 GB, free: 1.629 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (permeance.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002106/0.7907, allocations: 120.5 kB / 0.6017 GB, free: 1.504 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000432/0.7911, allocations: 339.4 kB / 0.602 GB, free: 1.152 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7911, allocations: 4.188 kB / 0.6021 GB, free: 1.148 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.7913, allocations: 275.4 kB / 0.6023 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.7916, allocations: 11.92 kB / 0.6023 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007065/0.7923, allocations: 327.7 kB / 0.6026 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.7926, allocations: 0.7574 MB / 0.6034 GB, free: 15.71 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.7927, allocations: 0 / 0.6034 GB, free: 15.71 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat does not exist to compare? outputFormat=mat