Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001429/0.00143, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001644/0.001645, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2314/0.2314, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 75.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.4584, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005293/0.4637, allocations: 3.532 MB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.4656, allocations: 0.8243 MB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.4658, allocations: 12.19 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.4661, allocations: 71.55 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.4664, allocations: 132.5 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.4668, allocations: 127 kB / 0.5356 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006005/0.4674, allocations: 0.5244 MB / 0.5361 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004148/0.4678, allocations: 242.2 kB / 0.5363 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.4681, allocations: 203.3 kB / 0.5365 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.4684, allocations: 238.7 kB / 0.5367 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.929e-05/0.4685, allocations: 48.5 kB / 0.5368 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.654e-05/0.4686, allocations: 49.41 kB / 0.5368 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.4687, allocations: 113 kB / 0.5369 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.469, allocations: 245 kB / 0.5372 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007049/0.4697, allocations: 0.5579 MB / 0.5377 GB, free: 8.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/0.4697, allocations: 0 / 0.5377 GB, free: 8.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4697, allocations: 0.9688 kB / 0.5377 GB, free: 8.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.4697, allocations: 4 kB / 0.5377 GB, free: 8.434 MB / 398.1 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.001415/0.4712, allocations: 0.7744 MB / 0.5385 GB, free: 7.785 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.4712, allocations: 9.812 kB / 0.5385 GB, free: 7.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.4713, allocations: 58 kB / 0.5385 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.4718, allocations: 317.4 kB / 0.5388 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.664e-05/0.4719, allocations: 36.5 kB / 0.5389 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.639e-05/0.472, allocations: 47.09 kB / 0.5389 GB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009233/0.4729, allocations: 467.8 kB / 0.5394 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.4729, allocations: 1.406 kB / 0.5394 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.473, allocations: 19.72 kB / 0.5394 GB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.473, allocations: 12.12 kB / 0.5394 GB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007407/0.4737, allocations: 328 kB / 0.5397 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.4763, allocations: 1.67 MB / 0.5413 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006264/0.477, allocations: 239.2 kB / 0.5416 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.4774, allocations: 131.3 kB / 0.5417 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.4774, allocations: 6.172 kB / 0.5417 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.4774, allocations: 37.19 kB / 0.5417 GB, free: 5.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 3.787e-06/0.4775, allocations: 224 / 0.5417 GB, free: 5.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.003401/0.4809, allocations: 1.359 MB / 0.5431 GB, free: 4.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.4809, allocations: 84.8 kB / 0.5431 GB, free: 4.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.4813, allocations: 261.7 kB / 0.5434 GB, free: 3.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.4813, allocations: 30.77 kB / 0.5434 GB, free: 3.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.4815, allocations: 269.8 kB / 0.5437 GB, free: 3.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.713e-05/0.4816, allocations: 133.5 kB / 0.5438 GB, free: 3.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.4817, allocations: 78.72 kB / 0.5439 GB, free: 3.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4819, allocations: 341.2 kB / 0.5442 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.4822, allocations: 101.6 kB / 0.5443 GB, free: 3.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.4826, allocations: 220.3 kB / 0.5445 GB, free: 2.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006555/0.4832, allocations: 336.8 kB / 0.5448 GB, free: 2.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.4832, allocations: 1.062 kB / 0.5448 GB, free: 2.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009248/0.4842, allocations: 425.7 kB / 0.5452 GB, free: 2.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.4842, allocations: 7.344 kB / 0.5452 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4842, allocations: 2.406 kB / 0.5452 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/0.4844, allocations: 29.78 kB / 0.5453 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/0.4849, allocations: 132.5 kB / 0.5454 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.4863, allocations: 1.435 MB / 0.5468 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.4866, allocations: 19.98 kB / 0.5468 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.4867, allocations: 20 kB / 0.5468 GB, free: 0.832 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000276/0.487, allocations: 169.6 kB / 0.547 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.949e-05/0.487, allocations: 27.81 kB / 0.547 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.714e-05/0.4871, allocations: 38.17 kB / 0.5471 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4872, allocations: 8.062 kB / 0.5471 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.4872, allocations: 0 / 0.5471 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.4872, allocations: 3.984 kB / 0.5471 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.4884, allocations: 0.7077 MB / 0.5478 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4884, allocations: 0 / 0.5478 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.4888, allocations: 103.9 kB / 0.5479 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.2e-05/0.4889, allocations: 24.84 kB / 0.5479 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.489, allocations: 11.94 kB / 0.5479 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009662/0.4899, allocations: 1.427 MB / 0.5493 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4899, allocations: 0 / 0.5493 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.491, allocations: 0.6058 MB / 0.5499 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.4911, allocations: 120.9 kB / 0.55 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.4912, allocations: 8 kB / 0.55 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.4914, allocations: 23.98 kB / 0.55 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.4915, allocations: 27.84 kB / 0.5501 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.4915, allocations: 12 kB / 0.5501 GB, free: 13.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001957/0.4918, allocations: 186 kB / 0.5502 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4918, allocations: 0 / 0.5502 GB, free: 13.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004938/0.4923, allocations: 92 kB / 0.5503 GB, free: 12.99 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002243/0.4925, allocations: 112.2 kB / 0.5504 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008861/0.4934, allocations: 414.7 kB / 0.5508 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4934, allocations: 128 / 0.5508 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.4938, allocations: 250.5 kB / 0.5511 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.4943, allocations: 56.39 kB / 0.5511 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.496, allocations: 0.9177 MB / 0.552 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.4964, allocations: 0.8112 MB / 0.5528 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.4966, allocations: 38.94 kB / 0.5529 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.4967, allocations: 27.44 kB / 0.5529 GB, free: 10.28 MB / 414.1 MB Notification: Performance of SimCode: time 2e-07/0.4967, allocations: 0 / 0.5529 GB, free: 10.28 MB / 414.1 MB Notification: Performance of Templates: time 0.007759/0.5045, allocations: 3.161 MB / 0.556 GB, free: 7.148 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches