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.001437/0.001437, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001471/0.001471, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.617/1.617, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2317/0.2317, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 63.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3815, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004287/0.3858, allocations: 2.483 MB / 0.5213 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.388, allocations: 1.039 MB / 0.5223 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.3881, allocations: 5.219 kB / 0.5223 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.3895, allocations: 0.4956 MB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.3898, allocations: 107.6 kB / 0.5229 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.3908, allocations: 0.6304 MB / 0.5235 GB, free: 404 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003537/0.3912, allocations: 227.1 kB / 0.5238 GB, free: 288 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005021/0.3917, allocations: 201.7 kB / 0.5239 GB, free: 168 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.3919, allocations: 95.44 kB / 0.524 GB, free: 120 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.3921, allocations: 132.9 kB / 0.5242 GB, free: 48 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.781e-05/0.3922, allocations: 21.56 kB / 0.5242 GB, free: 48 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.3925, allocations: 145 kB / 0.5243 GB, free: 8 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.366e-05/0.3926, allocations: 48.67 kB / 0.5244 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.3928, allocations: 116.9 kB / 0.5245 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006106/0.3934, allocations: 399.4 kB / 0.5249 GB, free: 15.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3934, allocations: 0.7969 kB / 0.5249 GB, free: 15.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3934, allocations: 0 / 0.5249 GB, free: 15.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3934, allocations: 1.875 kB / 0.5249 GB, free: 15.73 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.001323/0.3947, allocations: 0.6231 MB / 0.5255 GB, free: 15.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3948, allocations: 9.625 kB / 0.5255 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/0.3951, allocations: 51.73 kB / 0.5255 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.3953, allocations: 192.6 kB / 0.5257 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.3953, allocations: 18.56 kB / 0.5257 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.3953, allocations: 25.53 kB / 0.5258 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.396, allocations: 299.2 kB / 0.526 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.396, allocations: 0.75 kB / 0.526 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.396, allocations: 10.75 kB / 0.526 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.396, allocations: 9.484 kB / 0.5261 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005959/0.3966, allocations: 233.5 kB / 0.5263 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.3982, allocations: 0.9919 MB / 0.5273 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.3987, allocations: 364.6 kB / 0.5276 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.399, allocations: 122.1 kB / 0.5277 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.3991, allocations: 86.88 kB / 0.5278 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3992, allocations: 43.56 kB / 0.5278 GB, free: 13.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.974e-06/0.3992, allocations: 0 / 0.5278 GB, free: 13.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001181/0.4003, allocations: 0.5007 MB / 0.5283 GB, free: 13.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.4004, allocations: 79.86 kB / 0.5284 GB, free: 12.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.4005, allocations: 134.6 kB / 0.5285 GB, free: 12.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.4006, allocations: 31.08 kB / 0.5286 GB, free: 12.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.306e-05/0.4006, allocations: 145.9 kB / 0.5287 GB, free: 12.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.4007, allocations: 71.66 kB / 0.5288 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.4008, allocations: 38.22 kB / 0.5288 GB, free: 12.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4009, allocations: 321.6 kB / 0.5291 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.4011, allocations: 77 kB / 0.5292 GB, free: 12.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.4013, allocations: 126.2 kB / 0.5293 GB, free: 12.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.4018, allocations: 201.6 kB / 0.5295 GB, free: 11.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4018, allocations: 1.625 kB / 0.5295 GB, free: 11.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006204/0.4024, allocations: 281.8 kB / 0.5298 GB, free: 11.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4024, allocations: 5.531 kB / 0.5298 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4024, allocations: 2.594 kB / 0.5298 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.4026, allocations: 52.86 kB / 0.5298 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.4028, allocations: 42.66 kB / 0.5299 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.4048, allocations: 2.843 MB / 0.5326 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.405, allocations: 26.53 kB / 0.5327 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.405, allocations: 5.938 kB / 0.5327 GB, free: 8.801 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.0001473/0.4051, allocations: 145.1 kB / 0.5328 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.4052, allocations: 14.81 kB / 0.5328 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006386/0.4058, allocations: 269.2 kB / 0.5331 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4058, allocations: 1.438 kB / 0.5331 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4058, allocations: 2.375 kB / 0.5331 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4058, allocations: 0 / 0.5331 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.4069, allocations: 0.6485 MB / 0.5337 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4069, allocations: 8.875 kB / 0.5337 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.4071, allocations: 29.86 kB / 0.5338 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001299/0.4072, allocations: 50.34 kB / 0.5338 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.4073, allocations: 6.188 kB / 0.5338 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.4091, allocations: 2.835 MB / 0.5366 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.4091, allocations: 5.156 kB / 0.5366 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008786/0.41, allocations: 0.5177 MB / 0.5371 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.41, allocations: 101.9 kB / 0.5372 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.4101, allocations: 6.844 kB / 0.5372 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.4102, allocations: 12.17 kB / 0.5372 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.4103, allocations: 23.31 kB / 0.5372 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.4103, allocations: 9.219 kB / 0.5372 GB, free: 4.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.333e-05/0.4104, allocations: 105.9 kB / 0.5373 GB, free: 4.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4104, allocations: 0 / 0.5373 GB, free: 4.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004543/0.4109, allocations: 67.3 kB / 0.5374 GB, free: 4.297 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.0002331/0.4111, allocations: 132.1 kB / 0.5375 GB, free: 4.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007941/0.4119, allocations: 402.8 kB / 0.5379 GB, free: 3.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4119, allocations: 1.562 kB / 0.5379 GB, free: 3.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004427/0.4123, allocations: 330.4 kB / 0.5382 GB, free: 3.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.4128, allocations: 18.27 kB / 0.5382 GB, free: 3.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009211/0.4137, allocations: 479.1 kB / 0.5387 GB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.414, allocations: 0.7411 MB / 0.5394 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.774e-05/0.4141, allocations: 15.3 kB / 0.5394 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.47e-05/0.4142, allocations: 15.16 kB / 0.5395 GB, free: 2.477 MB / 398.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4142, allocations: 0 / 0.5395 GB, free: 2.477 MB / 398.1 MB Notification: Performance of Templates: time 0.006323/0.4205, allocations: 2.36 MB / 0.5418 GB, free: 1.285 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