Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 112.8 kB / 17.78 MB, free: 5.281 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.001393/0.001394, 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.424/1.424, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2149/0.2149, allocations: 44.2 MB / 336.8 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 63.89 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3965, allocations: 60.81 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.00298/0.3995, allocations: 1.721 MB / 0.5206 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001977/0.3997, allocations: 80.31 kB / 0.5206 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.3998, allocations: 2.844 kB / 0.5206 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.666e-05/0.3999, allocations: 17.11 kB / 0.5207 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.4, allocations: 20.5 kB / 0.5207 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.4001, allocations: 32.31 kB / 0.5207 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.4003, allocations: 106 kB / 0.5208 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.4004, allocations: 52.19 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.192e-05/0.4005, allocations: 46.73 kB / 0.5209 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.629e-05/0.4006, allocations: 51.47 kB / 0.5209 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.4006, allocations: 10.59 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.227e-05/0.4007, allocations: 11.53 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.015e-05/0.4007, allocations: 23.03 kB / 0.521 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.4008, allocations: 50.28 kB / 0.521 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.401, allocations: 119.4 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.401, allocations: 0.6094 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.401, allocations: 1.406 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.401, allocations: 3.938 kB / 0.5212 GB, free: 2.102 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005387/0.4015, allocations: 417.1 kB / 0.5216 GB, free: 1.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.4016, allocations: 9.656 kB / 0.5216 GB, free: 1.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.4016, allocations: 19.34 kB / 0.5216 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.183e-05/0.4017, allocations: 177.1 kB / 0.5218 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.4017, allocations: 8.188 kB / 0.5218 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.4018, allocations: 10.41 kB / 0.5218 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.4021, allocations: 116.8 kB / 0.5219 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4021, allocations: 2.109 kB / 0.5219 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.4021, allocations: 7.938 kB / 0.5219 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.4021, allocations: 2.906 kB / 0.5219 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.4025, allocations: 108.3 kB / 0.522 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.4032, allocations: 478.6 kB / 0.5225 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.4034, allocations: 89.66 kB / 0.5225 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.4036, allocations: 64.33 kB / 0.5226 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.4037, allocations: 8.734 kB / 0.5226 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.4037, allocations: 31.72 kB / 0.5226 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.4037, allocations: 5.094 kB / 0.5226 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007865/0.4045, allocations: 263.1 kB / 0.5229 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.4045, allocations: 57.2 kB / 0.5229 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.909e-05/0.4046, allocations: 123.6 kB / 0.5231 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.4046, allocations: 25.7 kB / 0.5231 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.4047, allocations: 114 kB / 0.5232 GB, free: 408 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.4047, allocations: 23.66 kB / 0.5232 GB, free: 388 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.4047, allocations: 19 kB / 0.5232 GB, free: 368 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.169e-05/0.4048, allocations: 315.9 kB / 0.5235 GB, free: 48 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.4049, allocations: 41.75 kB / 0.5236 GB, free: 36 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.4051, allocations: 57.02 kB / 0.5236 GB, free: 4 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.4054, allocations: 101.6 kB / 0.5237 GB, free: 15.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.077e-05/0.4055, allocations: 3.938 kB / 0.5237 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003891/0.4059, allocations: 139.5 kB / 0.5239 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4059, allocations: 10.2 kB / 0.5239 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4059, allocations: 4.062 kB / 0.5239 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001574/0.4061, allocations: 23.67 kB / 0.5239 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.4062, allocations: 18.14 kB / 0.5239 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.4072, allocations: 1.398 MB / 0.5253 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.4073, allocations: 21.52 kB / 0.5253 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.4074, allocations: 2.312 kB / 0.5253 GB, free: 14.44 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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 9.928e-05/0.4075, allocations: 119 kB / 0.5254 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.4075, allocations: 15.78 kB / 0.5254 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.4075, allocations: 10.12 kB / 0.5254 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4075, allocations: 1.938 kB / 0.5255 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4076, allocations: 1.219 kB / 0.5255 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4076, allocations: 4.641 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006865/0.4083, allocations: 431.8 kB / 0.5259 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.4083, allocations: 0.8281 kB / 0.5259 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.979e-05/0.4084, allocations: 23.62 kB / 0.5259 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-05/0.4084, allocations: 26.27 kB / 0.5259 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.4085, allocations: 6.203 kB / 0.5259 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009686/0.4094, allocations: 1.398 MB / 0.5273 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4095, allocations: 4.641 kB / 0.5273 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.4099, allocations: 243.6 kB / 0.5275 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.41, allocations: 83.47 kB / 0.5276 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.41, allocations: 2.688 kB / 0.5276 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.4101, allocations: 12.03 kB / 0.5276 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.4101, allocations: 14.73 kB / 0.5276 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.4102, allocations: 6.281 kB / 0.5276 GB, free: 12.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.148e-05/0.4102, allocations: 92.31 kB / 0.5277 GB, free: 12.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4102, allocations: 0 / 0.5277 GB, free: 12.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.4105, allocations: 32.03 kB / 0.5278 GB, free: 12.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * 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.0001177/0.4106, allocations: 92.52 kB / 0.5278 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005301/0.4112, allocations: 206.5 kB / 0.528 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4112, allocations: 0 / 0.528 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.4114, allocations: 164.7 kB / 0.5282 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.4118, allocations: 8.875 kB / 0.5282 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.4122, allocations: 215.4 kB / 0.5284 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.4125, allocations: 0.7007 MB / 0.5291 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.349e-05/0.4126, allocations: 2.172 kB / 0.5291 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.4126, allocations: 14.19 kB / 0.5291 GB, free: 10.86 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4126, allocations: 0 / 0.5291 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Templates: time 0.004102/0.4167, allocations: 1.109 MB / 0.5302 GB, free: 10.47 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches