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.001164/0.001164, allocations: 113.8 kB / 17.78 MB, free: 5.309 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.001351/0.001351, allocations: 183.1 kB / 18.71 MB, free: 4.387 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.506/1.506, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2229/0.2229, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.89 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3774, allocations: 60.83 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004018/0.3814, allocations: 2.462 MB / 0.5213 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.3829, allocations: 1.04 MB / 0.5223 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.383, allocations: 5.875 kB / 0.5223 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.3844, allocations: 0.4979 MB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.3847, allocations: 103.3 kB / 0.5229 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3858, allocations: 0.6278 MB / 0.5235 GB, free: 396 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.3861, allocations: 227.7 kB / 0.5237 GB, free: 280 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004727/0.3866, allocations: 260.4 kB / 0.524 GB, free: 140 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.3868, allocations: 94.28 kB / 0.5241 GB, free: 92 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.3869, allocations: 129.4 kB / 0.5242 GB, free: 24 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.387, allocations: 23.12 kB / 0.5242 GB, free: 24 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.3873, allocations: 142.3 kB / 0.5243 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.064e-05/0.3874, allocations: 53.67 kB / 0.5244 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.3875, allocations: 114 kB / 0.5245 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000604/0.3881, allocations: 395.2 kB / 0.5249 GB, free: 15.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3882, allocations: 0 / 0.5249 GB, free: 15.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.3882, allocations: 6.25 kB / 0.5249 GB, free: 15.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.3882, allocations: 0 / 0.5249 GB, free: 15.71 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.001368/0.3896, allocations: 0.6138 MB / 0.5255 GB, free: 15.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3896, allocations: 8.906 kB / 0.5255 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003373/0.39, allocations: 52.59 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.3901, allocations: 199.8 kB / 0.5257 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.3901, allocations: 18.66 kB / 0.5258 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.3902, allocations: 24.06 kB / 0.5258 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006206/0.3908, allocations: 295 kB / 0.5261 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.3909, allocations: 2.734 kB / 0.5261 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.3909, allocations: 9.5 kB / 0.5261 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3909, allocations: 6.094 kB / 0.5261 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005749/0.3915, allocations: 232.9 kB / 0.5263 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.3931, allocations: 1.003 MB / 0.5273 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.3936, allocations: 374.1 kB / 0.5276 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/0.3939, allocations: 141 kB / 0.5278 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.394, allocations: 86.61 kB / 0.5279 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.394, allocations: 35.88 kB / 0.5279 GB, free: 13.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.394, allocations: 0 / 0.5279 GB, free: 13.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001171/0.3952, allocations: 0.4919 MB / 0.5284 GB, free: 13.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.3953, allocations: 79.77 kB / 0.5284 GB, free: 12.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.3954, allocations: 145.2 kB / 0.5286 GB, free: 12.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.3954, allocations: 30.86 kB / 0.5286 GB, free: 12.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.424e-05/0.3955, allocations: 145.7 kB / 0.5288 GB, free: 12.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.3956, allocations: 71.48 kB / 0.5288 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.599e-05/0.3957, allocations: 42.39 kB / 0.5289 GB, free: 12.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3958, allocations: 321.3 kB / 0.5292 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.396, allocations: 65.2 kB / 0.5292 GB, free: 12.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.3962, allocations: 121.9 kB / 0.5293 GB, free: 12.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.3967, allocations: 202.3 kB / 0.5295 GB, free: 11.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3967, allocations: 1.312 kB / 0.5295 GB, free: 11.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006099/0.3973, allocations: 283.1 kB / 0.5298 GB, free: 11.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3973, allocations: 5.281 kB / 0.5298 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3973, allocations: 2.562 kB / 0.5298 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/0.3976, allocations: 52.48 kB / 0.5299 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.3977, allocations: 46.88 kB / 0.5299 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.3997, allocations: 2.839 MB / 0.5327 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.3999, allocations: 31.42 kB / 0.5327 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.3999, allocations: 5.875 kB / 0.5327 GB, free: 8.777 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.000135/0.4001, allocations: 141.1 kB / 0.5329 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.4001, allocations: 17.58 kB / 0.5329 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006419/0.4008, allocations: 270.2 kB / 0.5331 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.4008, allocations: 3.312 kB / 0.5331 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.4008, allocations: 5.094 kB / 0.5331 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4008, allocations: 1 kB / 0.5331 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.402, allocations: 0.6455 MB / 0.5338 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.402, allocations: 5.375 kB / 0.5338 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.4022, allocations: 36.44 kB / 0.5338 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/0.4023, allocations: 47.2 kB / 0.5339 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.4024, allocations: 6.156 kB / 0.5339 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.4045, allocations: 2.846 MB / 0.5366 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4045, allocations: 5.781 kB / 0.5366 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00095/0.4055, allocations: 0.5097 MB / 0.5371 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.081e-05/0.4056, allocations: 97.66 kB / 0.5372 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.4056, allocations: 6.281 kB / 0.5372 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.4058, allocations: 15.98 kB / 0.5373 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/0.4059, allocations: 20.91 kB / 0.5373 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.4059, allocations: 12.66 kB / 0.5373 GB, free: 4.375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.897e-05/0.406, allocations: 103.7 kB / 0.5374 GB, free: 4.289 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.406, allocations: 0 / 0.5374 GB, free: 4.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004868/0.4065, allocations: 66.38 kB / 0.5374 GB, free: 4.273 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.000232/0.4067, allocations: 128.7 kB / 0.5376 GB, free: 4.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007919/0.4075, allocations: 416.8 kB / 0.538 GB, free: 3.844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4076, allocations: 384 / 0.538 GB, free: 3.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.408, allocations: 334.6 kB / 0.5383 GB, free: 3.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.4085, allocations: 16.66 kB / 0.5383 GB, free: 3.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.4096, allocations: 476.1 kB / 0.5388 GB, free: 3.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.41, allocations: 0.7361 MB / 0.5395 GB, free: 2.473 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.753e-05/0.4102, allocations: 20.09 kB / 0.5395 GB, free: 2.461 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.4102, allocations: 15.47 kB / 0.5395 GB, free: 2.453 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4102, allocations: 0 / 0.5395 GB, free: 2.453 MB / 398.1 MB Notification: Performance of Templates: time 0.006545/0.4168, allocations: 2.337 MB / 0.5418 GB, free: 1.281 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