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.001102/0.001102, allocations: 118.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, 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.2524/0.2524, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 71.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4449, 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.006482/0.4514, allocations: 3.519 MB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.4532, allocations: 0.8394 MB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.4534, allocations: 8.844 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.4537, allocations: 75.27 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.454, allocations: 123.8 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.4544, allocations: 131.9 kB / 0.5356 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005811/0.455, allocations: 0.5162 MB / 0.5361 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004309/0.4554, allocations: 237.5 kB / 0.5363 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.4557, allocations: 211.8 kB / 0.5365 GB, free: 9.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.456, allocations: 235.7 kB / 0.5367 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.726e-05/0.4561, allocations: 48.62 kB / 0.5368 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.105e-05/0.4562, allocations: 49.53 kB / 0.5368 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.4563, allocations: 112.1 kB / 0.5369 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.4566, allocations: 249.3 kB / 0.5371 GB, free: 8.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006401/0.4572, allocations: 0.5594 MB / 0.5377 GB, free: 8.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4572, allocations: 0 / 0.5377 GB, free: 8.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4572, allocations: 0 / 0.5377 GB, free: 8.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.4573, allocations: 1.125 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.001369/0.4586, allocations: 0.7592 MB / 0.5384 GB, free: 7.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4587, allocations: 9.656 kB / 0.5384 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.4588, allocations: 58 kB / 0.5385 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/0.4593, allocations: 313 kB / 0.5388 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.4594, allocations: 36.19 kB / 0.5388 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.089e-05/0.4595, allocations: 46.62 kB / 0.5389 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008332/0.4603, allocations: 464.7 kB / 0.5393 GB, free: 7.141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.4603, allocations: 1.562 kB / 0.5393 GB, free: 7.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/0.4604, allocations: 19.12 kB / 0.5393 GB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.4604, allocations: 15.92 kB / 0.5394 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000725/0.4611, allocations: 323.5 kB / 0.5397 GB, free: 6.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.4637, allocations: 1.674 MB / 0.5413 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/0.4643, allocations: 236 kB / 0.5415 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.4646, allocations: 139.2 kB / 0.5417 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.4647, allocations: 2.938 kB / 0.5417 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.4647, allocations: 36.22 kB / 0.5417 GB, free: 5.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 2.986e-06/0.4647, allocations: 5.406 kB / 0.5417 GB, free: 5.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.003038/0.4678, allocations: 1.349 MB / 0.543 GB, free: 4.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.4678, allocations: 81.61 kB / 0.5431 GB, free: 4.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.4682, allocations: 261.2 kB / 0.5433 GB, free: 3.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.4682, allocations: 31.67 kB / 0.5434 GB, free: 3.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.4684, allocations: 260 kB / 0.5436 GB, free: 3.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.4685, allocations: 122 kB / 0.5437 GB, free: 3.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.4686, allocations: 78.03 kB / 0.5438 GB, free: 3.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4688, allocations: 340.9 kB / 0.5441 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.4691, allocations: 110.3 kB / 0.5442 GB, free: 3.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.4694, allocations: 215.3 kB / 0.5444 GB, free: 2.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006353/0.4701, allocations: 341.9 kB / 0.5448 GB, free: 2.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4701, allocations: 5.031 kB / 0.5448 GB, free: 2.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008558/0.4709, allocations: 418.2 kB / 0.5452 GB, free: 2.516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.471, allocations: 6.719 kB / 0.5452 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.471, allocations: 2.625 kB / 0.5452 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/0.4711, allocations: 33.19 kB / 0.5452 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.4716, allocations: 120.8 kB / 0.5453 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.4728, allocations: 1.451 MB / 0.5468 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.473, allocations: 16 kB / 0.5468 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.4731, allocations: 19.98 kB / 0.5468 GB, free: 0.8672 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.0002345/0.4733, allocations: 165.7 kB / 0.5469 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.507e-05/0.4734, allocations: 27.72 kB / 0.547 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.113e-05/0.4735, allocations: 42.17 kB / 0.547 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.4735, allocations: 4 kB / 0.547 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.4735, allocations: 4.062 kB / 0.547 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.4735, allocations: 0 / 0.547 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.4746, allocations: 0.7214 MB / 0.5477 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4747, allocations: 0 / 0.5477 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/0.475, allocations: 95.94 kB / 0.5478 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.688e-05/0.4751, allocations: 28.84 kB / 0.5478 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.4752, allocations: 7.938 kB / 0.5478 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009845/0.4762, allocations: 1.427 MB / 0.5492 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4762, allocations: 0 / 0.5492 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009368/0.4771, allocations: 0.6056 MB / 0.5498 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.4772, allocations: 120.8 kB / 0.5499 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/0.4773, allocations: 8 kB / 0.55 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.4775, allocations: 23.98 kB / 0.55 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.4776, allocations: 31.89 kB / 0.55 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.4777, allocations: 8 kB / 0.55 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.4778, allocations: 182 kB / 0.5502 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4778, allocations: 0 / 0.5502 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004617/0.4783, allocations: 95.94 kB / 0.5503 GB, free: 13.02 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.0001363/0.4784, allocations: 111.2 kB / 0.5504 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008331/0.4793, allocations: 417.7 kB / 0.5508 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.4793, allocations: 4.75 kB / 0.5508 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.4797, allocations: 254.6 kB / 0.551 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.4801, allocations: 42.73 kB / 0.5511 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.4819, allocations: 0.8997 MB / 0.552 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.4823, allocations: 0.8113 MB / 0.5527 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.4824, 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 6.987e-05/0.4825, allocations: 23.44 kB / 0.5528 GB, free: 10.36 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4825, allocations: 4 kB / 0.5528 GB, free: 10.35 MB / 414.1 MB Notification: Performance of Templates: time 0.008791/0.4913, allocations: 3.244 MB / 0.556 GB, free: 7.133 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