Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001631/0.001631, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001376, allocations: 203.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2492/0.2492, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.89 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4051, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006449/0.4116, allocations: 5.33 MB / 0.5362 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003996/0.4157, allocations: 1.644 MB / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006677/0.4164, allocations: 19 kB / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003588/0.42, allocations: 1.591 MB / 0.5394 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.4215, allocations: 312.3 kB / 0.5397 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.4227, allocations: 0.513 MB / 0.5402 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.424, allocations: 0.8127 MB / 0.541 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.4253, allocations: 0.7199 MB / 0.5417 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000724/0.426, allocations: 341.8 kB / 0.542 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000669/0.4267, allocations: 461.8 kB / 0.5424 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.4269, allocations: 78.5 kB / 0.5425 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006588/0.4275, allocations: 202.9 kB / 0.5427 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.4277, allocations: 174.9 kB / 0.5429 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005019/0.4282, allocations: 431.9 kB / 0.5433 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.43, allocations: 1.171 MB / 0.5444 GB, free: 3.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.43, allocations: 4 kB / 0.5444 GB, free: 3.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.43, allocations: 1.156 kB / 0.5444 GB, free: 3.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.4301, allocations: 0 / 0.5444 GB, free: 3.371 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.004142/0.4342, allocations: 1.369 MB / 0.5458 GB, free: 2.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.932e-05/0.4343, allocations: 14.28 kB / 0.5458 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.4362, allocations: 249 kB / 0.546 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.4367, allocations: 258.8 kB / 0.5463 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/0.4367, allocations: 74.38 kB / 0.5463 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.4369, allocations: 108.1 kB / 0.5464 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.4387, allocations: 0.9283 MB / 0.5473 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.592e-05/0.4388, allocations: 7.891 kB / 0.5473 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.153e-05/0.4389, allocations: 48 kB / 0.5474 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.4389, allocations: 24 kB / 0.5474 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.4402, allocations: 0.7145 MB / 0.5481 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005522/0.4457, allocations: 4.088 MB / 0.5521 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.4485, allocations: 3.369 MB / 0.5554 GB, free: 7.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/0.4489, allocations: 296.6 kB / 0.5557 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.4491, allocations: 178.5 kB / 0.5559 GB, free: 7.035 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.4491, allocations: 46.83 kB / 0.5559 GB, free: 6.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.925e-06/0.4492, allocations: 0 / 0.5559 GB, free: 6.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002686/0.4519, allocations: 1.337 MB / 0.5572 GB, free: 5.555 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/0.4519, allocations: 136.5 kB / 0.5573 GB, free: 5.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/0.4524, allocations: 314.8 kB / 0.5576 GB, free: 5.074 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.4524, allocations: 37.7 kB / 0.5577 GB, free: 5.031 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.4527, allocations: 407.8 kB / 0.5581 GB, free: 4.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.4529, allocations: 241.9 kB / 0.5583 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.4531, allocations: 150.6 kB / 0.5584 GB, free: 4.234 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4533, allocations: 350.8 kB / 0.5588 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.4536, allocations: 197.9 kB / 0.559 GB, free: 3.691 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/0.4541, allocations: 404.5 kB / 0.5593 GB, free: 3.219 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000875/0.455, allocations: 0.6219 MB / 0.5599 GB, free: 2.516 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.455, allocations: 8 kB / 0.56 GB, free: 2.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00151/0.4565, allocations: 0.8851 MB / 0.5608 GB, free: 1.605 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.4566, allocations: 6.844 kB / 0.5608 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.4566, allocations: 12 kB / 0.5608 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/0.4573, allocations: 223.2 kB / 0.5611 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.4577, allocations: 135.8 kB / 0.5612 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005708/0.4634, allocations: 6.707 MB / 0.5677 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/0.4641, allocations: 87.3 kB / 0.5678 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/0.4642, allocations: 44.05 kB / 0.5679 GB, free: 9.828 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003913/0.4646, allocations: 225.5 kB / 0.5681 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.4647, allocations: 39.77 kB / 0.5681 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.466, allocations: 0.6949 MB / 0.5688 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.466, allocations: 8 kB / 0.5688 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.466, allocations: 4 kB / 0.5688 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.4661, allocations: 3.984 kB / 0.5688 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002341/0.4684, allocations: 1.57 MB / 0.5703 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4684, allocations: 0 / 0.5703 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.4687, allocations: 63.91 kB / 0.5704 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005285/0.4692, allocations: 223.4 kB / 0.5706 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.4692, allocations: 15.94 kB / 0.5706 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00538/0.4746, allocations: 6.71 MB / 0.5772 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4747, allocations: 0 / 0.5772 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.4762, allocations: 1.187 MB / 0.5783 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.4764, allocations: 136.7 kB / 0.5785 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.4765, allocations: 12 kB / 0.5785 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.4768, allocations: 16.06 kB / 0.5785 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/0.4769, allocations: 59.8 kB / 0.5786 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.4769, allocations: 16 kB / 0.5786 GB, free: 14.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002448/0.4772, allocations: 213.9 kB / 0.5788 GB, free: 13.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4772, allocations: 0 / 0.5788 GB, free: 13.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001022/0.4782, allocations: 275.4 kB / 0.579 GB, free: 13.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002579/0.4785, allocations: 143.1 kB / 0.5792 GB, free: 13.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.48, allocations: 1.076 MB / 0.5802 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.48, allocations: 4.062 kB / 0.5802 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008064/0.4808, allocations: 0.7716 MB / 0.581 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.4815, allocations: 44.55 kB / 0.581 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.4835, allocations: 1.253 MB / 0.5822 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.484, allocations: 0.9111 MB / 0.5831 GB, free: 9.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002327/0.4842, allocations: 64.55 kB / 0.5832 GB, free: 9.207 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.543e-05/0.4843, allocations: 35.44 kB / 0.5832 GB, free: 9.176 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4843, allocations: 0 / 0.5832 GB, free: 9.176 MB / 446.1 MB Notification: Performance of Templates: time 0.01283/0.4971, allocations: 6.87 MB / 0.5899 GB, free: 2.328 MB / 446.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches