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.001129/0.001129, allocations: 182.8 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000804/0.0008041, allocations: 104 kB / 293.3 MB, free: 10.76 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.3563/0.3563, allocations: 44.14 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003724, allocations: 15.98 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3539, allocations: 61.88 MB / 0.5107 GB, free: 38.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1193/0.4732, allocations: 91.91 MB / 0.6005 GB, free: 3.137 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.4735, allocations: 83.94 kB / 0.6006 GB, free: 3.059 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02479/0.4983, allocations: 9.251 MB / 0.6096 GB, free: 9.785 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4984, allocations: 8 kB / 0.6096 GB, free: 9.777 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.097e-05/0.4984, allocations: 8 kB / 0.6096 GB, free: 9.77 MB / 426.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.00122/0.4996, allocations: 0.6752 MB / 0.6103 GB, free: 9.043 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.4997, allocations: 12.02 kB / 0.6103 GB, free: 9.031 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.716e-05/0.4998, allocations: 52.38 kB / 0.6103 GB, free: 8.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.5002, allocations: 317.4 kB / 0.6106 GB, free: 8.629 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.5003, allocations: 37.38 kB / 0.6107 GB, free: 8.594 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.5004, allocations: 52.38 kB / 0.6107 GB, free: 8.543 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008173/0.5012, allocations: 459.5 kB / 0.6112 GB, free: 8.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.5012, allocations: 192 / 0.6112 GB, free: 8.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.5013, allocations: 27.94 kB / 0.6112 GB, free: 8.043 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.5013, allocations: 12 kB / 0.6112 GB, free: 8.031 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006914/0.502, allocations: 327.8 kB / 0.6115 GB, free: 7.715 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002534/0.5045, allocations: 1.707 MB / 0.6132 GB, free: 5.895 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005272/0.5051, allocations: 245 kB / 0.6134 GB, free: 5.637 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/0.5054, allocations: 141.9 kB / 0.6135 GB, free: 5.492 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.5054, allocations: 7.875 kB / 0.6136 GB, free: 5.484 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.5055, allocations: 42.56 kB / 0.6136 GB, free: 5.434 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.5055, allocations: 0 / 0.6136 GB, free: 5.434 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.002788/0.5083, allocations: 1.257 MB / 0.6148 GB, free: 4.074 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.5084, allocations: 81.11 kB / 0.6149 GB, free: 3.977 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.5086, allocations: 258.6 kB / 0.6151 GB, free: 3.719 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.5087, allocations: 29.7 kB / 0.6152 GB, free: 3.684 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.5089, allocations: 259.4 kB / 0.6154 GB, free: 3.422 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.109e-05/0.509, allocations: 114.3 kB / 0.6155 GB, free: 3.309 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/0.509, allocations: 19.88 kB / 0.6155 GB, free: 3.289 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5092, allocations: 342.8 kB / 0.6159 GB, free: 2.945 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.5094, allocations: 104.8 kB / 0.616 GB, free: 2.844 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.5098, allocations: 211.9 kB / 0.6162 GB, free: 2.602 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006031/0.5104, allocations: 346.9 kB / 0.6165 GB, free: 2.227 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5104, allocations: 0 / 0.6165 GB, free: 2.227 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007831/0.5112, allocations: 414.4 kB / 0.6169 GB, free: 1.816 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.5112, allocations: 7.984 kB / 0.6169 GB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.5112, allocations: 4 kB / 0.6169 GB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/0.5114, allocations: 37.19 kB / 0.6169 GB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.5118, allocations: 119.8 kB / 0.6171 GB, free: 1.648 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.5129, allocations: 1.343 MB / 0.6184 GB, free: 172 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.5132, allocations: 20 kB / 0.6184 GB, free: 152 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.5132, allocations: 16 kB / 0.6184 GB, free: 136 kB / 426.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 () * Number of clocked 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.0002377/0.5135, allocations: 170.8 kB / 0.6186 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.5136, allocations: 35.56 kB / 0.6186 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.967e-05/0.5136, allocations: 34.17 kB / 0.6186 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5136, allocations: 4 kB / 0.6186 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5137, allocations: 4 kB / 0.6186 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.5137, allocations: 0 / 0.6186 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.5148, allocations: 0.7271 MB / 0.6194 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5148, allocations: 0 / 0.6194 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.5152, allocations: 91.88 kB / 0.6194 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-05/0.5153, allocations: 32.91 kB / 0.6195 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.5153, allocations: 8 kB / 0.6195 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009427/0.5163, allocations: 1.331 MB / 0.6208 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5163, allocations: 0 / 0.6208 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009665/0.5173, allocations: 0.6061 MB / 0.6214 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.5174, allocations: 128.7 kB / 0.6215 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.5175, allocations: 8 kB / 0.6215 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.5177, allocations: 23.98 kB / 0.6215 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.5178, allocations: 23.97 kB / 0.6216 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.5178, allocations: 12 kB / 0.6216 GB, free: 12.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001764/0.518, allocations: 182 kB / 0.6217 GB, free: 12.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.518, allocations: 3.938 kB / 0.6217 GB, free: 12.47 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004374/0.5185, allocations: 95.94 kB / 0.6218 GB, free: 12.38 MB / 442.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 () * Number of clocked 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.0001583/0.5186, allocations: 111.7 kB / 0.6219 GB, free: 12.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007973/0.5194, allocations: 402.9 kB / 0.6223 GB, free: 11.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5194, allocations: 4 kB / 0.6223 GB, free: 11.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.5198, allocations: 256.1 kB / 0.6226 GB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.5204, allocations: 44.73 kB / 0.6226 GB, free: 11.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.522, allocations: 1.149 MB / 0.6237 GB, free: 10.35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.5224, allocations: 0.8152 MB / 0.6245 GB, free: 9.508 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.5226, allocations: 30.97 kB / 0.6246 GB, free: 9.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.5227, allocations: 23.44 kB / 0.6246 GB, free: 9.457 MB / 442.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5227, allocations: 0 / 0.6246 GB, free: 9.457 MB / 442.7 MB Notification: Performance of Templates: time 0.006173/0.5289, allocations: 2.882 MB / 0.6274 GB, free: 6.605 MB / 442.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/jenkins1/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