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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 93.97 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4428/0.4428, allocations: 44.84 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 59.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4979, allocations: 62.02 MB / 0.5152 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004409/0.5024, allocations: 2.529 MB / 0.5176 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.5043, allocations: 1.076 MB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.5044, allocations: 5.219 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.5058, allocations: 481.3 kB / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.5061, allocations: 86.05 kB / 0.5192 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.5072, allocations: 484.8 kB / 0.5197 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.5075, allocations: 217.8 kB / 0.5199 GB, free: 34.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005119/0.508, allocations: 227 kB / 0.5201 GB, free: 34.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.5082, allocations: 96.11 kB / 0.5202 GB, free: 34.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.5084, allocations: 116.9 kB / 0.5203 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.5085, allocations: 18.03 kB / 0.5203 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003602/0.5088, allocations: 149.7 kB / 0.5205 GB, free: 34.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.5089, allocations: 46.73 kB / 0.5205 GB, free: 34.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.509, allocations: 110.9 kB / 0.5206 GB, free: 34.22 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000589/0.5096, allocations: 390.2 kB / 0.521 GB, free: 34.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5097, allocations: 0 / 0.521 GB, free: 34.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.5097, allocations: 0 / 0.521 GB, free: 34.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.5097, allocations: 0 / 0.521 GB, free: 34.06 MB / 378.7 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.001631/0.5113, allocations: 0.6279 MB / 0.5216 GB, free: 33.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.5114, allocations: 11.19 kB / 0.5216 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004842/0.5119, allocations: 55.28 kB / 0.5217 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.512, allocations: 185.2 kB / 0.5218 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.5121, allocations: 17.19 kB / 0.5219 GB, free: 33.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-05/0.5121, allocations: 28.25 kB / 0.5219 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006867/0.5128, allocations: 295.5 kB / 0.5222 GB, free: 33.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.5129, allocations: 2.906 kB / 0.5222 GB, free: 33.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.5129, allocations: 11.98 kB / 0.5222 GB, free: 33.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.5129, allocations: 5.875 kB / 0.5222 GB, free: 33.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007357/0.5137, allocations: 228.5 kB / 0.5224 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.5155, allocations: 1.003 MB / 0.5234 GB, free: 32.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/0.5161, allocations: 385.5 kB / 0.5238 GB, free: 32.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/0.5165, allocations: 133.2 kB / 0.5239 GB, free: 31.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/0.5167, allocations: 173.3 kB / 0.524 GB, free: 31.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.5168, allocations: 33.12 kB / 0.5241 GB, free: 31.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 3.116e-06/0.5168, allocations: 0 / 0.5241 GB, free: 31.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001442/0.5182, allocations: 0.4943 MB / 0.5246 GB, free: 31.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.5183, allocations: 87.95 kB / 0.5246 GB, free: 31.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.5184, allocations: 144.4 kB / 0.5248 GB, free: 31.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.5184, allocations: 28.58 kB / 0.5248 GB, free: 31.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/0.5185, allocations: 143.8 kB / 0.5249 GB, free: 31.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.5186, allocations: 66.7 kB / 0.525 GB, free: 31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.191e-05/0.5187, allocations: 38.72 kB / 0.525 GB, free: 30.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.985e-05/0.5187, allocations: 320.7 kB / 0.5254 GB, free: 30.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.519, allocations: 75.34 kB / 0.5254 GB, free: 30.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.5193, allocations: 119.5 kB / 0.5255 GB, free: 30.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005376/0.5199, allocations: 204.7 kB / 0.5257 GB, free: 30.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5199, allocations: 6.531 kB / 0.5257 GB, free: 30.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007643/0.5206, allocations: 277.6 kB / 0.526 GB, free: 30.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.5207, allocations: 8.438 kB / 0.526 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.5207, allocations: 4.188 kB / 0.526 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/0.5209, allocations: 48.39 kB / 0.5261 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.5212, allocations: 40.59 kB / 0.5261 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.5229, allocations: 2.645 MB / 0.5287 GB, free: 27.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.5231, allocations: 30.7 kB / 0.5287 GB, free: 27.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.5232, allocations: 5.938 kB / 0.5287 GB, free: 27.58 MB / 378.7 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.0001393/0.5233, allocations: 143 kB / 0.5289 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/0.5234, allocations: 13.69 kB / 0.5289 GB, free: 27.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007949/0.5242, allocations: 262.5 kB / 0.5291 GB, free: 27.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.5242, allocations: 2.688 kB / 0.5291 GB, free: 27.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.5242, allocations: 0 / 0.5291 GB, free: 27.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.5242, allocations: 3.938 kB / 0.5291 GB, free: 27.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.5256, allocations: 0.6568 MB / 0.5298 GB, free: 26.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5257, allocations: 0 / 0.5298 GB, free: 26.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.5259, allocations: 35.83 kB / 0.5298 GB, free: 26.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/0.5261, allocations: 55.73 kB / 0.5299 GB, free: 26.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.5261, allocations: 10.53 kB / 0.5299 GB, free: 26.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.5277, allocations: 2.636 MB / 0.5324 GB, free: 24.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5277, allocations: 2.781 kB / 0.5324 GB, free: 24.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.5295, allocations: 1.444 MB / 0.5339 GB, free: 22.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.5296, allocations: 94.67 kB / 0.5339 GB, free: 22.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.5296, allocations: 3.938 kB / 0.5339 GB, free: 22.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.5299, allocations: 20.77 kB / 0.534 GB, free: 22.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.53, allocations: 22.28 kB / 0.534 GB, free: 22.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.53, allocations: 5.062 kB / 0.534 GB, free: 22.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.198e-05/0.5301, allocations: 106 kB / 0.5341 GB, free: 22.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5301, allocations: 0 / 0.5341 GB, free: 22.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008156/0.5309, allocations: 79.16 kB / 0.5342 GB, free: 22.62 MB / 378.7 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.0002391/0.5312, allocations: 122 kB / 0.5343 GB, free: 22.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008391/0.532, allocations: 417.7 kB / 0.5347 GB, free: 22.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.532, allocations: 0 / 0.5347 GB, free: 22.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.5325, allocations: 330.3 kB / 0.535 GB, free: 21.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006361/0.5331, allocations: 17.84 kB / 0.535 GB, free: 21.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.5343, allocations: 0.7238 MB / 0.5357 GB, free: 21.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.5345, allocations: 0.7457 MB / 0.5365 GB, free: 20.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.5346, allocations: 21.5 kB / 0.5365 GB, free: 20.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.5347, allocations: 13 kB / 0.5365 GB, free: 20.66 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5347, allocations: 0 / 0.5365 GB, free: 20.66 MB / 378.7 MB Notification: Performance of Templates: time 0.006996/0.5417, allocations: 2.282 MB / 0.5387 GB, free: 20.45 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches