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: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [: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.0009469/0.000947, allocations: 179.7 kB / 8.519 MB, free: 1.859 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.234/1.234, allocations: 221.4 MB / 230.3 MB, free: 7.668 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.00097/0.0009701, allocations: 84.73 kB / 281.2 MB, free: 5.488 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.1844/0.1844, allocations: 44.15 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.102e-06/6.102e-06, allocations: 224 / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1289, allocations: 61.91 MB / 0.4941 GB, free: 1.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3277/0.4567, allocations: 89.31 MB / 0.5813 GB, free: 7.449 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.4569, allocations: 80.61 kB / 0.5814 GB, free: 7.371 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02209/0.479, allocations: 8.826 MB / 0.59 GB, free: 14.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.4791, allocations: 4 kB / 0.59 GB, free: 14.44 MB / 410.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.001178/0.4803, allocations: 0.5606 MB / 0.5906 GB, free: 13.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.4803, allocations: 11.97 kB / 0.5906 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003748/0.4807, allocations: 59.67 kB / 0.5906 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.4809, allocations: 190.7 kB / 0.5908 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.481, allocations: 8 kB / 0.5908 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.481, allocations: 12 kB / 0.5908 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003932/0.4814, allocations: 164.9 kB / 0.591 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.4818, allocations: 225.6 kB / 0.5912 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.4819, allocations: 4 kB / 0.5912 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.4819, allocations: 0 / 0.5912 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.4819, allocations: 4 kB / 0.5912 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.4835, allocations: 0.9735 MB / 0.5922 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.4837, allocations: 165.1 kB / 0.5923 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.4839, allocations: 97.7 kB / 0.5924 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.4841, allocations: 89.09 kB / 0.5925 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.4841, allocations: 38.56 kB / 0.5925 GB, free: 11.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.4841, allocations: 0 / 0.5925 GB, free: 11.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005566/0.4847, allocations: 192.4 kB / 0.5927 GB, free: 11.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.4847, allocations: 81.11 kB / 0.5928 GB, free: 11.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.853e-05/0.4848, allocations: 109.7 kB / 0.5929 GB, free: 11.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.4848, allocations: 29.69 kB / 0.5929 GB, free: 11.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.485, allocations: 144.1 kB / 0.5931 GB, free: 11.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.485, allocations: 63.02 kB / 0.5931 GB, free: 11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-06/0.485, allocations: 0 / 0.5931 GB, free: 11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4852, allocations: 326.8 kB / 0.5934 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.353e-05/0.4852, allocations: 48 kB / 0.5935 GB, free: 10.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.4854, allocations: 84.89 kB / 0.5936 GB, free: 10.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.4855, allocations: 62.16 kB / 0.5936 GB, free: 10.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4855, allocations: 0 / 0.5936 GB, free: 10.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004423/0.486, allocations: 223 kB / 0.5938 GB, free: 10.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.486, allocations: 4.109 kB / 0.5938 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.486, allocations: 3.938 kB / 0.5938 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002051/0.4862, allocations: 53.69 kB / 0.5939 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.4864, allocations: 51.94 kB / 0.5939 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.4884, allocations: 2.517 MB / 0.5964 GB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.4885, allocations: 32.12 kB / 0.5964 GB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.4886, allocations: 15.94 kB / 0.5964 GB, free: 7.32 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 0.0001032/0.4887, allocations: 108.9 kB / 0.5965 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.4887, allocations: 15.81 kB / 0.5966 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000477/0.4892, allocations: 218.5 kB / 0.5968 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4892, allocations: 3.938 kB / 0.5968 GB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4892, allocations: 4 kB / 0.5968 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.4893, allocations: 3.984 kB / 0.5968 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008659/0.4901, allocations: 0.545 MB / 0.5973 GB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.4901, allocations: 4 kB / 0.5973 GB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.4903, allocations: 48.03 kB / 0.5974 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/0.4905, allocations: 49.59 kB / 0.5974 GB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.4905, allocations: 0 / 0.5974 GB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.4922, allocations: 2.512 MB / 0.5999 GB, free: 3.508 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.4922, allocations: 0 / 0.5999 GB, free: 3.508 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006008/0.4928, allocations: 489.7 kB / 0.6003 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.4929, allocations: 92.95 kB / 0.6004 GB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.4929, allocations: 0 / 0.6004 GB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.4931, allocations: 28.03 kB / 0.6004 GB, free: 2.844 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.4932, allocations: 19.89 kB / 0.6005 GB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.4932, allocations: 4 kB / 0.6005 GB, free: 2.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.872e-05/0.4932, allocations: 96.89 kB / 0.6006 GB, free: 2.727 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004314/0.4937, allocations: 63.84 kB / 0.6006 GB, free: 2.664 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.0002285/0.4939, allocations: 131.1 kB / 0.6007 GB, free: 2.527 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004603/0.4944, allocations: 331.7 kB / 0.6011 GB, free: 2.184 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4944, allocations: 0 / 0.6011 GB, free: 2.184 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.4946, allocations: 275.4 kB / 0.6013 GB, free: 1.895 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.4949, allocations: 11.91 kB / 0.6013 GB, free: 1.883 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007411/0.4956, allocations: 323.7 kB / 0.6016 GB, free: 1.535 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/0.496, allocations: 0.7574 MB / 0.6024 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.496, allocations: 0 / 0.6024 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of Templates: time 0.005409/0.5014, allocations: 2.419 MB / 0.6047 GB, free: 14.34 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches