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.001153/0.001153, allocations: 110.8 kB / 18.46 MB, free: 4.594 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.001204/0.001204, allocations: 183 kB / 19.39 MB, free: 3.672 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.396/1.396, allocations: 222.9 MB / 243.1 MB, free: 15.02 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.2139/0.2139, allocations: 44.19 MB / 337.4 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3908, allocations: 60.83 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003512/0.3944, allocations: 2.466 MB / 0.522 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.3959, allocations: 1.028 MB / 0.523 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.167e-05/0.396, allocations: 8.969 kB / 0.523 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.3971, allocations: 0.4988 MB / 0.5235 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.3974, allocations: 103.4 kB / 0.5236 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.3984, allocations: 0.6319 MB / 0.5242 GB, free: 396 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.3987, allocations: 222.8 kB / 0.5244 GB, free: 284 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004325/0.3991, allocations: 259.9 kB / 0.5246 GB, free: 144 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.3993, allocations: 95.62 kB / 0.5247 GB, free: 96 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.3994, allocations: 132.9 kB / 0.5249 GB, free: 24 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.3995, allocations: 25.84 kB / 0.5249 GB, free: 20 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/0.3998, allocations: 143.3 kB / 0.525 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.3999, allocations: 54.7 kB / 0.5251 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.4, allocations: 112.2 kB / 0.5252 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005849/0.4006, allocations: 399.6 kB / 0.5256 GB, free: 15.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4006, allocations: 0 / 0.5256 GB, free: 15.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4006, allocations: 0 / 0.5256 GB, free: 15.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.4006, allocations: 0 / 0.5256 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.001418/0.402, allocations: 0.6252 MB / 0.5262 GB, free: 15.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4021, allocations: 9 kB / 0.5262 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003512/0.4024, allocations: 52.61 kB / 0.5262 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.4026, allocations: 191.8 kB / 0.5264 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.4027, allocations: 19.09 kB / 0.5264 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.06e-05/0.4027, allocations: 24.53 kB / 0.5265 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006588/0.4034, allocations: 299.7 kB / 0.5267 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.4034, allocations: 0 / 0.5267 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.4035, allocations: 11.78 kB / 0.5268 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.4035, allocations: 5.5 kB / 0.5268 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006069/0.4041, allocations: 229.6 kB / 0.527 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.4057, allocations: 1.003 MB / 0.528 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.4062, allocations: 379.2 kB / 0.5283 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.4066, allocations: 136.8 kB / 0.5285 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.4067, allocations: 86.64 kB / 0.5285 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.4067, allocations: 39.97 kB / 0.5286 GB, free: 13.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.4067, allocations: 0 / 0.5286 GB, free: 13.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001246/0.408, allocations: 0.4951 MB / 0.5291 GB, free: 13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.408, allocations: 79.67 kB / 0.5291 GB, free: 12.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.4082, allocations: 141.4 kB / 0.5293 GB, free: 12.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.4082, allocations: 27.27 kB / 0.5293 GB, free: 12.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.4083, allocations: 144.8 kB / 0.5294 GB, free: 12.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.4084, allocations: 75.69 kB / 0.5295 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.4084, allocations: 39.16 kB / 0.5295 GB, free: 12.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4086, allocations: 325.2 kB / 0.5299 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.4088, allocations: 69.28 kB / 0.5299 GB, free: 12.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.4091, allocations: 121.7 kB / 0.53 GB, free: 12.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/0.4096, allocations: 202.6 kB / 0.5302 GB, free: 11.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4096, allocations: 0 / 0.5302 GB, free: 11.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006806/0.4103, allocations: 288.8 kB / 0.5305 GB, free: 11.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.4103, allocations: 9.25 kB / 0.5305 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4103, allocations: 1.625 kB / 0.5305 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002271/0.4105, allocations: 52.77 kB / 0.5306 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.4108, allocations: 42.69 kB / 0.5306 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.4129, allocations: 2.843 MB / 0.5334 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.413, allocations: 27.88 kB / 0.5334 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.4131, allocations: 5.406 kB / 0.5334 GB, free: 8.75 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.0001444/0.4132, allocations: 149.4 kB / 0.5336 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.4133, allocations: 14.44 kB / 0.5336 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007234/0.414, allocations: 267.9 kB / 0.5338 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.414, allocations: 1.25 kB / 0.5338 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.414, allocations: 0 / 0.5338 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.4141, allocations: 93.11 kB / 0.5339 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.4141, allocations: 7.094 kB / 0.5339 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.4143, allocations: 10.55 kB / 0.5339 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.4144, allocations: 20.09 kB / 0.534 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008219/0.4152, allocations: 432.5 kB / 0.5344 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007695/0.416, allocations: 0.5223 MB / 0.5349 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002201/0.4162, allocations: 83.25 kB / 0.535 GB, free: 7.539 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.601e-05/0.4163, allocations: 111.2 kB / 0.5351 GB, free: 7.445 MB / 398.1 MB Notification: Performance of Backend: time 3.51e-07/0.4163, allocations: 0 / 0.5351 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.4174, allocations: 480.3 kB / 0.5355 GB, free: 7.059 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009572/0.4183, allocations: 0.8913 MB / 0.5364 GB, free: 6.25 MB / 398.1 MB Notification: Performance of Templates: time 0.007137/0.4255, allocations: 3.387 MB / 0.5397 GB, free: 4.512 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/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