Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 117.2 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 185 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1962/0.1962, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.91 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4619/0.4631, allocations: 60.81 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003991/0.4672, allocations: 2.484 MB / 0.5213 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.4694, allocations: 1.036 MB / 0.5223 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.4695, allocations: 5.344 kB / 0.5223 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.4709, allocations: 0.4899 MB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.4711, allocations: 103.4 kB / 0.5229 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.4723, allocations: 0.637 MB / 0.5235 GB, free: 404 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.4726, allocations: 222.2 kB / 0.5237 GB, free: 292 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004995/0.4732, allocations: 264.1 kB / 0.524 GB, free: 148 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.4733, allocations: 96.08 kB / 0.5241 GB, free: 100 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.4735, allocations: 124.2 kB / 0.5242 GB, free: 36 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.4736, allocations: 20.84 kB / 0.5242 GB, free: 36 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.4739, allocations: 143.8 kB / 0.5243 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.924e-05/0.474, allocations: 49.52 kB / 0.5244 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.4742, allocations: 121.2 kB / 0.5245 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006147/0.4748, allocations: 399.7 kB / 0.5249 GB, free: 15.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4748, allocations: 0 / 0.5249 GB, free: 15.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4748, allocations: 0.5625 kB / 0.5249 GB, free: 15.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.904e-06/0.4748, allocations: 1.969 kB / 0.5249 GB, free: 15.72 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.001403/0.4762, allocations: 0.6272 MB / 0.5255 GB, free: 15.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4763, allocations: 9.625 kB / 0.5255 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003368/0.4766, allocations: 51.69 kB / 0.5256 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.4768, allocations: 188.3 kB / 0.5257 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.4768, allocations: 19.27 kB / 0.5258 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/0.4769, allocations: 24.88 kB / 0.5258 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006671/0.4776, allocations: 295.7 kB / 0.5261 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.4776, allocations: 4 kB / 0.5261 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.4776, allocations: 14.42 kB / 0.5261 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.4777, allocations: 7 kB / 0.5261 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007067/0.4784, allocations: 228.2 kB / 0.5263 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.4803, allocations: 0.995 MB / 0.5273 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/0.481, allocations: 384.7 kB / 0.5277 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/0.4814, allocations: 141 kB / 0.5278 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.4815, allocations: 86.61 kB / 0.5279 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.4816, allocations: 37.25 kB / 0.5279 GB, free: 13.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 2.635e-06/0.4816, allocations: 0 / 0.5279 GB, free: 13.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001407/0.483, allocations: 0.4949 MB / 0.5284 GB, free: 13.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/0.4831, allocations: 83.58 kB / 0.5285 GB, free: 12.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.4833, allocations: 141.8 kB / 0.5286 GB, free: 12.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.4834, allocations: 25.7 kB / 0.5286 GB, free: 12.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.4835, allocations: 147.4 kB / 0.5288 GB, free: 12.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.4836, allocations: 74.91 kB / 0.5288 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.4837, allocations: 38.2 kB / 0.5289 GB, free: 12.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.4839, allocations: 321.9 kB / 0.5292 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.4842, allocations: 76.77 kB / 0.5293 GB, free: 12.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.4845, allocations: 114 kB / 0.5294 GB, free: 12.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.485, allocations: 198.7 kB / 0.5296 GB, free: 11.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.485, allocations: 5.469 kB / 0.5296 GB, free: 11.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006646/0.4857, allocations: 283.5 kB / 0.5298 GB, free: 11.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.4857, allocations: 5.75 kB / 0.5298 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.4857, allocations: 6.156 kB / 0.5298 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002548/0.486, allocations: 52.98 kB / 0.5299 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.4862, allocations: 46.36 kB / 0.5299 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.4885, allocations: 2.844 MB / 0.5327 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.4886, allocations: 26.59 kB / 0.5327 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.4887, allocations: 5.781 kB / 0.5327 GB, free: 8.77 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.0001599/0.4888, allocations: 145.1 kB / 0.5329 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/0.4889, allocations: 14.56 kB / 0.5329 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006675/0.4896, allocations: 264.1 kB / 0.5331 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4896, allocations: 2.062 kB / 0.5331 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4896, allocations: 2.156 kB / 0.5332 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4896, allocations: 4 kB / 0.5332 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.4908, allocations: 0.649 MB / 0.5338 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.4908, allocations: 5.219 kB / 0.5338 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.491, allocations: 37.88 kB / 0.5338 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000129/0.4911, allocations: 46.45 kB / 0.5339 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.4912, allocations: 10.17 kB / 0.5339 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.493, allocations: 2.843 MB / 0.5367 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-06/0.4931, allocations: 5.234 kB / 0.5367 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/0.4939, allocations: 0.5192 MB / 0.5372 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.494, allocations: 93.05 kB / 0.5373 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.494, allocations: 6.781 kB / 0.5373 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.4942, allocations: 16.27 kB / 0.5373 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.4943, allocations: 27.53 kB / 0.5373 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.4943, allocations: 5.469 kB / 0.5373 GB, free: 4.363 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.088e-05/0.4944, allocations: 105.5 kB / 0.5374 GB, free: 4.277 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4944, allocations: 0 / 0.5374 GB, free: 4.277 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004627/0.4949, allocations: 66.58 kB / 0.5375 GB, free: 4.262 MB / 398.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.0002335/0.4951, allocations: 128.5 kB / 0.5376 GB, free: 4.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007739/0.4959, allocations: 415.6 kB / 0.538 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4959, allocations: 0 / 0.538 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.4963, allocations: 334.8 kB / 0.5383 GB, free: 3.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.4968, allocations: 12.84 kB / 0.5383 GB, free: 3.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009286/0.4977, allocations: 485.9 kB / 0.5388 GB, free: 3.176 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.4981, allocations: 0.7376 MB / 0.5395 GB, free: 2.453 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.044e-05/0.4982, allocations: 11.94 kB / 0.5395 GB, free: 2.449 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.4982, allocations: 18.31 kB / 0.5395 GB, free: 2.438 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4982, allocations: 0 / 0.5395 GB, free: 2.438 MB / 398.1 MB Notification: Performance of Templates: time 0.00623/0.5045, allocations: 2.334 MB / 0.5418 GB, free: 1.27 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches