Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [: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.001055/0.001055, allocations: 179.4 kB / 8.517 MB, free: 1.855 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.362/1.362, allocations: 221.4 MB / 230.3 MB, free: 7.703 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.0009859/0.0009859, allocations: 88.61 kB / 281.2 MB, free: 5.441 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.1958/0.1958, allocations: 44.15 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.032e-05/1.036e-05, allocations: 224 / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1266, allocations: 61.92 MB / 0.4941 GB, free: 1.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.37/0.4966, allocations: 91.07 MB / 0.583 GB, free: 5.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.4969, allocations: 71.97 kB / 0.5831 GB, free: 5.609 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02431/0.5212, allocations: 8.868 MB / 0.5918 GB, free: 12.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.475e-05/0.5213, allocations: 8 kB / 0.5918 GB, free: 12.73 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001011/0.5223, allocations: 0.6667 MB / 0.5924 GB, free: 12.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5223, allocations: 8.031 kB / 0.5924 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.33e-05/0.5224, allocations: 47.44 kB / 0.5925 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.5229, allocations: 312.2 kB / 0.5928 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.5229, allocations: 15.91 kB / 0.5928 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.523, allocations: 28 kB / 0.5928 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004743/0.5235, allocations: 258 kB / 0.5931 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005893/0.5241, allocations: 365.2 kB / 0.5934 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.5241, allocations: 4 kB / 0.5934 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.5241, allocations: 0 / 0.5934 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.5241, allocations: 12 kB / 0.5934 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.5265, allocations: 1.622 MB / 0.595 GB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.5268, allocations: 127.4 kB / 0.5951 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.527, allocations: 113.8 kB / 0.5952 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.5271, allocations: 7.938 kB / 0.5952 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.5271, allocations: 42.56 kB / 0.5953 GB, free: 8.895 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.5271, allocations: 0 / 0.5953 GB, free: 8.895 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001884/0.529, allocations: 1.017 MB / 0.5963 GB, free: 7.773 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.529, allocations: 85.02 kB / 0.5964 GB, free: 7.672 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.5293, allocations: 217 kB / 0.5966 GB, free: 7.457 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.5293, allocations: 26.83 kB / 0.5966 GB, free: 7.426 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.5294, allocations: 239.4 kB / 0.5968 GB, free: 7.184 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/0.5295, allocations: 118.2 kB / 0.5969 GB, free: 7.066 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.5295, allocations: 0 / 0.5969 GB, free: 7.066 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5297, allocations: 342.7 kB / 0.5973 GB, free: 6.723 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.5298, allocations: 76.88 kB / 0.5973 GB, free: 6.648 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.53, allocations: 178.8 kB / 0.5975 GB, free: 6.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.5302, allocations: 107.8 kB / 0.5976 GB, free: 6.328 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.5302, allocations: 0 / 0.5976 GB, free: 6.328 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005349/0.5308, allocations: 344.5 kB / 0.5979 GB, free: 5.988 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.5308, allocations: 4 kB / 0.5979 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5308, allocations: 4 kB / 0.5979 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/0.5309, allocations: 36.78 kB / 0.598 GB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.5315, allocations: 127.8 kB / 0.5981 GB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.5325, allocations: 1.261 MB / 0.5993 GB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.5328, allocations: 16.09 kB / 0.5993 GB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.5328, allocations: 19.94 kB / 0.5994 GB, free: 4.402 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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 0.0001049/0.5329, allocations: 112.8 kB / 0.5995 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.533, allocations: 31.72 kB / 0.5995 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.97e-05/0.5331, allocations: 29.89 kB / 0.5995 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5331, allocations: 7.906 kB / 0.5995 GB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5331, allocations: 0 / 0.5995 GB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5331, allocations: 7.984 kB / 0.5995 GB, free: 4.207 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009124/0.534, allocations: 0.6251 MB / 0.6002 GB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.534, allocations: 0 / 0.6002 GB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/0.5345, allocations: 103.9 kB / 0.6003 GB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.308e-05/0.5346, allocations: 24.84 kB / 0.6003 GB, free: 3.402 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.5346, allocations: 144 / 0.6003 GB, free: 3.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008639/0.5355, allocations: 1.26 MB / 0.6015 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.5355, allocations: 0 / 0.6015 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006625/0.5362, allocations: 0.5685 MB / 0.6021 GB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.5363, allocations: 120.7 kB / 0.6022 GB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.5364, allocations: 4 kB / 0.6022 GB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.5366, allocations: 19.98 kB / 0.6022 GB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.5367, allocations: 19.97 kB / 0.6022 GB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.5367, allocations: 15.94 kB / 0.6022 GB, free: 1.219 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001454/0.5369, allocations: 161.2 kB / 0.6024 GB, free: 1.059 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004371/0.5373, allocations: 80 kB / 0.6025 GB, free: 0.9805 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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 0.0001489/0.5375, allocations: 107.1 kB / 0.6026 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000532/0.538, allocations: 333.6 kB / 0.6029 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.538, allocations: 0 / 0.6029 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.5383, allocations: 221.5 kB / 0.6031 GB, free: 312 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.5386, allocations: 31.64 kB / 0.6031 GB, free: 284 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.5399, allocations: 0.6444 MB / 0.6038 GB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004928/0.5404, allocations: 0.8569 MB / 0.6046 GB, free: 14.71 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5404, allocations: 0 / 0.6046 GB, free: 14.71 MB / 426.7 MB Notification: Performance of Templates: time 0.00684/0.5473, allocations: 3.123 MB / 0.6076 GB, free: 11.61 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches