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.001106/0.001106, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001117/0.001117, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 75.86 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.4549, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005546/0.4605, allocations: 3.524 MB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.4628, allocations: 0.8281 MB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002758/0.4631, allocations: 11.56 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.4634, allocations: 75.2 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.4637, allocations: 129.6 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.4642, allocations: 127.7 kB / 0.5356 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006454/0.4648, allocations: 0.5241 MB / 0.5361 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004926/0.4653, allocations: 237.5 kB / 0.5363 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.4656, allocations: 208.7 kB / 0.5365 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.466, allocations: 234.8 kB / 0.5367 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.4661, allocations: 48.94 kB / 0.5368 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.497e-05/0.4662, allocations: 48.69 kB / 0.5368 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.4663, allocations: 117.6 kB / 0.5369 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.4665, allocations: 243.7 kB / 0.5372 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006604/0.4672, allocations: 0.56 MB / 0.5377 GB, free: 8.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4672, allocations: 0 / 0.5377 GB, free: 8.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4672, allocations: 4.906 kB / 0.5377 GB, free: 8.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.4672, allocations: 0 / 0.5377 GB, free: 8.426 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.001453/0.4687, allocations: 0.7597 MB / 0.5384 GB, free: 7.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.4688, allocations: 10.12 kB / 0.5385 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.4689, allocations: 53.84 kB / 0.5385 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005668/0.4695, allocations: 312.9 kB / 0.5388 GB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.4695, allocations: 36.22 kB / 0.5388 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.723e-05/0.4696, allocations: 47.12 kB / 0.5389 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.4706, allocations: 467.9 kB / 0.5393 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.4707, allocations: 1.125 kB / 0.5393 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-05/0.4707, allocations: 20 kB / 0.5394 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.4708, allocations: 12.06 kB / 0.5394 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008287/0.4716, allocations: 322.9 kB / 0.5397 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002766/0.4744, allocations: 1.671 MB / 0.5413 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006373/0.475, allocations: 239 kB / 0.5415 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/0.4754, allocations: 134.6 kB / 0.5417 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.4755, allocations: 3.5 kB / 0.5417 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.4755, allocations: 36.81 kB / 0.5417 GB, free: 5.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.353e-06/0.4755, allocations: 224 / 0.5417 GB, free: 5.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.003232/0.4788, allocations: 1.35 MB / 0.543 GB, free: 4.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.4788, allocations: 84.56 kB / 0.5431 GB, free: 4.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.4792, allocations: 258.7 kB / 0.5433 GB, free: 3.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.4792, allocations: 38.66 kB / 0.5434 GB, free: 3.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.4794, allocations: 261 kB / 0.5436 GB, free: 3.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.869e-05/0.4795, allocations: 129.3 kB / 0.5438 GB, free: 3.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.4797, allocations: 78.62 kB / 0.5438 GB, free: 3.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4798, allocations: 337 kB / 0.5441 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.4801, allocations: 105.4 kB / 0.5442 GB, free: 3.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.4805, allocations: 216.1 kB / 0.5445 GB, free: 2.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.4812, allocations: 340.9 kB / 0.5448 GB, free: 2.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4812, allocations: 2.406 kB / 0.5448 GB, free: 2.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008793/0.4821, allocations: 421.3 kB / 0.5452 GB, free: 2.516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4821, allocations: 5.688 kB / 0.5452 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4821, allocations: 3.312 kB / 0.5452 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001823/0.4823, allocations: 29.09 kB / 0.5452 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/0.4828, allocations: 132.2 kB / 0.5453 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.484, allocations: 1.439 MB / 0.5468 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.4843, allocations: 20 kB / 0.5468 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.4843, allocations: 16 kB / 0.5468 GB, free: 0.8789 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.0002049/0.4845, allocations: 173.6 kB / 0.547 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/0.4846, allocations: 23.72 kB / 0.547 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.728e-05/0.4847, allocations: 42.23 kB / 0.547 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4847, allocations: 4 kB / 0.547 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4847, allocations: 0 / 0.547 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4847, allocations: 0 / 0.547 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.4858, allocations: 0.7171 MB / 0.5477 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4859, allocations: 4.062 kB / 0.5477 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.4863, allocations: 99.88 kB / 0.5478 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.284e-05/0.4864, allocations: 24.84 kB / 0.5478 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.4864, allocations: 11.94 kB / 0.5479 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.4874, allocations: 1.419 MB / 0.5492 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4875, allocations: 0 / 0.5492 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000984/0.4884, allocations: 0.6095 MB / 0.5498 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.4886, allocations: 120.8 kB / 0.5499 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.4886, allocations: 12 kB / 0.55 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.4889, allocations: 19.98 kB / 0.55 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/0.489, allocations: 31.83 kB / 0.55 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.489, allocations: 12 kB / 0.55 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001872/0.4892, allocations: 182 kB / 0.5502 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4892, allocations: 0 / 0.5502 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004986/0.4897, allocations: 96 kB / 0.5503 GB, free: 13.03 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.0001538/0.4899, allocations: 103.2 kB / 0.5504 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009459/0.4908, allocations: 418.7 kB / 0.5508 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4908, allocations: 4.25 kB / 0.5508 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.4912, allocations: 250.5 kB / 0.551 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.4917, allocations: 44.48 kB / 0.5511 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.4934, allocations: 0.9076 MB / 0.552 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.4939, allocations: 0.8152 MB / 0.5528 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000143/0.494, allocations: 30.97 kB / 0.5528 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.4941, allocations: 27.44 kB / 0.5528 GB, free: 10.35 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4941, allocations: 0 / 0.5528 GB, free: 10.35 MB / 414.1 MB Notification: Performance of Templates: time 0.00786/0.502, allocations: 3.17 MB / 0.5559 GB, free: 7.211 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