Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001524/0.001525, allocations: 118.2 kB / 17.78 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001512/0.001512, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2569/0.2569, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 79.86 kB / 481.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4449, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003848/0.4488, allocations: 2.489 MB / 0.5334 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.4505, allocations: 1.087 MB / 0.5345 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.4506, allocations: 8.062 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.452, allocations: 0.4965 MB / 0.535 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.4523, allocations: 106.2 kB / 0.5351 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009536/0.4533, allocations: 491.1 kB / 0.5355 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.4537, allocations: 221 kB / 0.5357 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005276/0.4542, allocations: 260.3 kB / 0.536 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.4544, allocations: 100.9 kB / 0.5361 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.4546, allocations: 120.4 kB / 0.5362 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.4546, allocations: 22.03 kB / 0.5362 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003416/0.455, allocations: 161.5 kB / 0.5364 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.455, allocations: 43.45 kB / 0.5364 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.4552, allocations: 116.9 kB / 0.5365 GB, free: 9.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006055/0.4558, allocations: 401.3 kB / 0.5369 GB, free: 9.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4558, allocations: 1.219 kB / 0.5369 GB, free: 9.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4558, allocations: 4 kB / 0.5369 GB, free: 9.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.4558, allocations: 0 / 0.5369 GB, free: 9.105 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001294/0.4571, allocations: 0.6157 MB / 0.5375 GB, free: 8.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4571, allocations: 9.031 kB / 0.5375 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003292/0.4575, allocations: 50.66 kB / 0.5376 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.4576, allocations: 199.1 kB / 0.5378 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.4577, allocations: 19.25 kB / 0.5378 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.095e-05/0.4577, allocations: 24.38 kB / 0.5378 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/0.4584, allocations: 291.9 kB / 0.5381 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.4584, allocations: 5.031 kB / 0.5381 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.4584, allocations: 14.09 kB / 0.5381 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.4585, allocations: 6.406 kB / 0.5381 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006886/0.4592, allocations: 229.9 kB / 0.5383 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.4606, allocations: 0.9916 MB / 0.5393 GB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.4612, allocations: 377.1 kB / 0.5397 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/0.4616, allocations: 141.2 kB / 0.5398 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.4618, allocations: 170.4 kB / 0.54 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/0.4619, allocations: 35.75 kB / 0.54 GB, free: 6.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.4619, allocations: 0 / 0.54 GB, free: 6.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001342/0.4633, allocations: 0.4984 MB / 0.5405 GB, free: 6.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002131/0.4635, allocations: 87.27 kB / 0.5406 GB, free: 5.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.4636, allocations: 134.8 kB / 0.5407 GB, free: 5.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.4637, allocations: 38.92 kB / 0.5407 GB, free: 5.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.4638, allocations: 141.5 kB / 0.5409 GB, free: 5.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.4639, allocations: 71.39 kB / 0.5409 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.81e-05/0.464, allocations: 38.55 kB / 0.541 GB, free: 5.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.4642, allocations: 321.8 kB / 0.5413 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.4644, allocations: 72.95 kB / 0.5413 GB, free: 5.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.4647, allocations: 120.6 kB / 0.5415 GB, free: 5.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/0.4652, allocations: 204.9 kB / 0.5416 GB, free: 5.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4652, allocations: 0 / 0.5416 GB, free: 5.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006671/0.4659, allocations: 291.3 kB / 0.5419 GB, free: 4.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.4659, allocations: 5.312 kB / 0.5419 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4659, allocations: 2.219 kB / 0.5419 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/0.4662, allocations: 48.78 kB / 0.542 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.4664, allocations: 46.25 kB / 0.542 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.4684, allocations: 2.832 MB / 0.5448 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.4686, allocations: 35.17 kB / 0.5448 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.4686, allocations: 5.844 kB / 0.5448 GB, free: 1.844 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.4688, allocations: 141 kB / 0.545 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.959e-05/0.4688, allocations: 21.48 kB / 0.545 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000679/0.4695, allocations: 262.9 kB / 0.5452 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4695, allocations: 2.656 kB / 0.5452 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4696, allocations: 1.156 kB / 0.5452 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.4696, allocations: 0 / 0.5452 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.4708, allocations: 0.6463 MB / 0.5459 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.4709, allocations: 8.906 kB / 0.5459 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.471, allocations: 40.89 kB / 0.5459 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000138/0.4712, allocations: 47.92 kB / 0.546 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.4712, allocations: 10.17 kB / 0.546 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.4732, allocations: 2.834 MB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4732, allocations: 1.938 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008995/0.4741, allocations: 0.517 MB / 0.5492 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.4742, allocations: 98.11 kB / 0.5493 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.4742, allocations: 1.375 kB / 0.5493 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.4744, allocations: 17.14 kB / 0.5494 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/0.4745, allocations: 24.19 kB / 0.5494 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.4745, allocations: 4.344 kB / 0.5494 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.758e-05/0.4746, allocations: 114.4 kB / 0.5495 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4746, allocations: 0 / 0.5495 GB, free: 13.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005013/0.4751, allocations: 72.44 kB / 0.5496 GB, free: 13.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0002472/0.4754, allocations: 125.4 kB / 0.5497 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007744/0.4762, allocations: 431.9 kB / 0.5501 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4762, allocations: 1.219 kB / 0.5501 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004034/0.4766, allocations: 330.5 kB / 0.5504 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.477, allocations: 13.09 kB / 0.5504 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008435/0.4779, allocations: 465.7 kB / 0.5509 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.4782, allocations: 0.74 MB / 0.5516 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.17e-05/0.4783, allocations: 13.38 kB / 0.5516 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.4783, allocations: 15.44 kB / 0.5516 GB, free: 11.37 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4783, allocations: 0 / 0.5516 GB, free: 11.37 MB / 414.1 MB Notification: Performance of Templates: time 0.005704/0.484, allocations: 2.395 MB / 0.554 GB, free: 8.973 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches