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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 221.5 MB / 230.7 MB, free: 7.543 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.0008934/0.0008934, allocations: 85.72 kB / 281.6 MB, free: 5.273 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.2028/0.2028, allocations: 44.14 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.194e-05/1.197e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 61.92 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4312/0.5606, allocations: 91.15 MB / 0.5837 GB, free: 5.375 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.561, allocations: 67.97 kB / 0.5838 GB, free: 5.309 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02549/0.5865, allocations: 9.183 MB / 0.5927 GB, free: 12.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5865, allocations: 0 / 0.5927 GB, free: 12.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.5865, allocations: 8 kB / 0.5927 GB, free: 12.11 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.001032/0.5876, allocations: 0.6527 MB / 0.5934 GB, free: 11.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.5876, allocations: 15.98 kB / 0.5934 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.453e-05/0.5877, allocations: 47.44 kB / 0.5934 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.5882, allocations: 316.5 kB / 0.5937 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.5882, allocations: 19.95 kB / 0.5937 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.5883, allocations: 31.94 kB / 0.5938 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004542/0.5887, allocations: 250.6 kB / 0.594 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006466/0.5894, allocations: 372.5 kB / 0.5944 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.5894, allocations: 0 / 0.5944 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.5895, allocations: 0 / 0.5944 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.5895, allocations: 12 kB / 0.5944 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.5919, allocations: 1.618 MB / 0.596 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.5923, allocations: 201.1 kB / 0.5962 GB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.5925, allocations: 117.6 kB / 0.5963 GB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.5926, allocations: 4 kB / 0.5963 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.5926, allocations: 34.56 kB / 0.5963 GB, free: 8.203 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.5926, allocations: 0 / 0.5963 GB, free: 8.203 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001949/0.5946, allocations: 1.021 MB / 0.5973 GB, free: 7.082 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.5946, allocations: 88.95 kB / 0.5974 GB, free: 6.977 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.5949, allocations: 214.1 kB / 0.5976 GB, free: 6.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.5949, allocations: 25.7 kB / 0.5976 GB, free: 6.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.5951, allocations: 263.4 kB / 0.5979 GB, free: 6.469 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.804e-05/0.5952, allocations: 118.3 kB / 0.598 GB, free: 6.352 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/0.5952, allocations: 0 / 0.598 GB, free: 6.352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.5954, allocations: 338.8 kB / 0.5983 GB, free: 6.012 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.5955, allocations: 80.88 kB / 0.5984 GB, free: 5.934 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.5957, allocations: 166.8 kB / 0.5985 GB, free: 5.727 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.596, allocations: 108.8 kB / 0.5986 GB, free: 5.621 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.596, allocations: 4 kB / 0.5986 GB, free: 5.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005589/0.5966, allocations: 338.8 kB / 0.599 GB, free: 5.281 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.5966, allocations: 8 kB / 0.599 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.5966, allocations: 4 kB / 0.599 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001443/0.5968, allocations: 37.12 kB / 0.599 GB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.5973, allocations: 119.9 kB / 0.5991 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.5983, allocations: 1.28 MB / 0.6004 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.5986, allocations: 15.89 kB / 0.6004 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.5986, allocations: 16 kB / 0.6004 GB, free: 3.676 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.0001133/0.5987, allocations: 108.9 kB / 0.6005 GB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.362e-05/0.5988, allocations: 35.59 kB / 0.6005 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/0.5989, allocations: 34.03 kB / 0.6006 GB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5989, allocations: 7.938 kB / 0.6006 GB, free: 3.488 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5989, allocations: 0 / 0.6006 GB, free: 3.488 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5989, allocations: 4.125 kB / 0.6006 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009334/0.5999, allocations: 0.6202 MB / 0.6012 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5999, allocations: 4.062 kB / 0.6012 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.6003, allocations: 99.86 kB / 0.6013 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.501e-05/0.6004, allocations: 24.84 kB / 0.6013 GB, free: 2.684 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.6004, allocations: 4 kB / 0.6013 GB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008637/0.6013, allocations: 1.276 MB / 0.6026 GB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6013, allocations: 0 / 0.6026 GB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006446/0.602, allocations: 0.5608 MB / 0.6031 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.6021, allocations: 124.7 kB / 0.6032 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.483e-05/0.6021, allocations: 7.875 kB / 0.6032 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.6024, allocations: 19.98 kB / 0.6033 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.6025, allocations: 23.97 kB / 0.6033 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.6025, allocations: 8 kB / 0.6033 GB, free: 500 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001493/0.6026, allocations: 170 kB / 0.6035 GB, free: 336 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6027, allocations: 0 / 0.6035 GB, free: 336 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004367/0.6031, allocations: 76 kB / 0.6035 GB, free: 260 kB / 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.0001457/0.6032, allocations: 107.2 kB / 0.6036 GB, free: 140 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005513/0.6038, allocations: 343.9 kB / 0.604 GB, free: 15.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6038, allocations: 0 / 0.604 GB, free: 15.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.6041, allocations: 217.7 kB / 0.6042 GB, free: 15.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.6044, allocations: 34.41 kB / 0.6042 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.6056, allocations: 0.6425 MB / 0.6048 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.606, allocations: 0.823 MB / 0.6056 GB, free: 14.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.6062, allocations: 31.28 kB / 0.6057 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.6062, allocations: 27.44 kB / 0.6057 GB, free: 13.96 MB / 426.7 MB Notification: Performance of SimCode: time 3.3e-07/0.6063, allocations: 0 / 0.6057 GB, free: 13.96 MB / 426.7 MB Notification: Performance of Templates: time 0.005886/0.6121, allocations: 2.55 MB / 0.6082 GB, free: 11.43 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