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.001184/0.001184, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001279, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 75.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3967, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006517/0.4033, allocations: 5.328 MB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.4067, allocations: 1.645 MB / 0.5378 GB, free: 8.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004984/0.4072, allocations: 17.59 kB / 0.5378 GB, free: 8.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003568/0.4108, allocations: 1.594 MB / 0.5394 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009025/0.4117, allocations: 316.1 kB / 0.5397 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.4128, allocations: 0.5202 MB / 0.5402 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001047/0.4139, allocations: 0.8007 MB / 0.541 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.4152, allocations: 0.7356 MB / 0.5417 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006535/0.4158, allocations: 342.4 kB / 0.542 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006043/0.4164, allocations: 465 kB / 0.5424 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.4166, allocations: 74.81 kB / 0.5425 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000592/0.4172, allocations: 199.5 kB / 0.5427 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.4173, allocations: 175 kB / 0.5429 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004247/0.4178, allocations: 427.2 kB / 0.5433 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.4192, allocations: 1.17 MB / 0.5444 GB, free: 3.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4192, allocations: 0 / 0.5444 GB, free: 3.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4192, allocations: 1.062 kB / 0.5444 GB, free: 3.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.4192, allocations: 0 / 0.5444 GB, free: 3.363 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.003436/0.4227, allocations: 1.352 MB / 0.5457 GB, free: 2.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.4227, allocations: 10.95 kB / 0.5458 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.4243, allocations: 243.3 kB / 0.546 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.4246, allocations: 257 kB / 0.5462 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.31e-05/0.4247, allocations: 74.38 kB / 0.5463 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.4248, allocations: 108 kB / 0.5464 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.4264, allocations: 0.936 MB / 0.5473 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.4264, allocations: 0 / 0.5473 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/0.4265, allocations: 44 kB / 0.5474 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.4265, allocations: 24 kB / 0.5474 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.4277, allocations: 0.7184 MB / 0.5481 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004925/0.4326, allocations: 4.083 MB / 0.5521 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002704/0.4354, allocations: 3.363 MB / 0.5554 GB, free: 7.559 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.4358, allocations: 294 kB / 0.5556 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.436, allocations: 174.5 kB / 0.5558 GB, free: 7.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.436, allocations: 42.89 kB / 0.5558 GB, free: 7.004 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 3.657e-06/0.4361, allocations: 0 / 0.5558 GB, free: 7.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002781/0.4388, allocations: 1.337 MB / 0.5572 GB, free: 5.578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.088e-05/0.4389, allocations: 140.5 kB / 0.5573 GB, free: 5.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.4393, allocations: 310.8 kB / 0.5576 GB, free: 5.098 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.4394, allocations: 41.64 kB / 0.5576 GB, free: 5.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.4397, allocations: 394.5 kB / 0.558 GB, free: 4.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.4399, allocations: 228.6 kB / 0.5582 GB, free: 4.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.4401, allocations: 150.5 kB / 0.5584 GB, free: 4.277 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4402, allocations: 354.8 kB / 0.5587 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.4406, allocations: 193.9 kB / 0.5589 GB, free: 3.734 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/0.4411, allocations: 404.6 kB / 0.5593 GB, free: 3.262 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008379/0.4419, allocations: 0.6219 MB / 0.5599 GB, free: 2.559 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.4419, allocations: 8 kB / 0.5599 GB, free: 2.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001408/0.4434, allocations: 0.881 MB / 0.5607 GB, free: 1.652 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.4434, allocations: 4 kB / 0.5608 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4434, allocations: 8.5 kB / 0.5608 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006294/0.444, allocations: 223.2 kB / 0.561 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.4445, allocations: 147.8 kB / 0.5611 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005845/0.4504, allocations: 6.697 MB / 0.5677 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006262/0.4511, allocations: 86.97 kB / 0.5677 GB, free: 9.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/0.4511, allocations: 36 kB / 0.5678 GB, free: 9.883 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.0003858/0.4515, allocations: 229.6 kB / 0.568 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.4517, allocations: 39.53 kB / 0.568 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.4529, allocations: 0.687 MB / 0.5687 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.453, allocations: 12 kB / 0.5687 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.453, allocations: 4 kB / 0.5687 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.453, allocations: 3.984 kB / 0.5687 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.4553, allocations: 1.57 MB / 0.5702 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4553, allocations: 288 / 0.5702 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.4556, allocations: 67.91 kB / 0.5703 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005079/0.4561, allocations: 223.2 kB / 0.5705 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.4561, allocations: 12 kB / 0.5705 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005426/0.4616, allocations: 6.701 MB / 0.5771 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4616, allocations: 0 / 0.5771 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.4632, allocations: 1.183 MB / 0.5782 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.4633, allocations: 128.5 kB / 0.5784 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.4634, allocations: 12 kB / 0.5784 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.4637, allocations: 12 kB / 0.5784 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.4639, allocations: 67.84 kB / 0.5784 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.4639, allocations: 16 kB / 0.5785 GB, free: 14.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002405/0.4641, allocations: 213.9 kB / 0.5787 GB, free: 14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4641, allocations: 0 / 0.5787 GB, free: 14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001053/0.4652, allocations: 287.1 kB / 0.5789 GB, free: 13.71 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.0002574/0.4655, allocations: 139.1 kB / 0.5791 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.467, allocations: 1.076 MB / 0.5801 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.467, allocations: 0 / 0.5801 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008539/0.4679, allocations: 0.7757 MB / 0.5809 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006922/0.4686, allocations: 52.05 kB / 0.5809 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.4707, allocations: 1.223 MB / 0.5821 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.4712, allocations: 0.915 MB / 0.583 GB, free: 9.355 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002397/0.4714, allocations: 68.53 kB / 0.5831 GB, free: 9.289 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.485e-05/0.4715, allocations: 31.44 kB / 0.5831 GB, free: 9.262 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4715, allocations: 0 / 0.5831 GB, free: 9.262 MB / 446.1 MB Notification: Performance of Templates: time 0.01244/0.484, allocations: 6.872 MB / 0.5898 GB, free: 2.414 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