Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 103.9 kB / 18.39 MB, free: 4.641 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.001279/0.001279, allocations: 190.5 kB / 19.33 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 51.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1083, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.2509/0.3592, allocations: 5.206 MB / 381 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003747/0.363, allocations: 1.718 MB / 382.7 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004589/0.3636, allocations: 17.19 kB / 382.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003275/0.3669, allocations: 1.419 MB / 384.2 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.3681, allocations: 321.2 kB / 384.5 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.37, allocations: 0.802 MB / 385.3 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.3713, allocations: 0.8151 MB / 386.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.3725, allocations: 0.7595 MB / 386.9 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005767/0.373, allocations: 354.2 kB / 387.2 MB, free: 8.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005603/0.3736, allocations: 467 kB / 387.7 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.3737, allocations: 74.47 kB / 387.7 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008167/0.3746, allocations: 260.4 kB / 388 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.3747, allocations: 182.9 kB / 388.2 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003806/0.3751, allocations: 422.8 kB / 388.6 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.3767, allocations: 1.188 MB / 389.8 MB, free: 6.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3767, allocations: 0 / 389.8 MB, free: 6.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3767, allocations: 0 / 389.8 MB, free: 6.977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.3767, allocations: 3.938 kB / 389.8 MB, free: 6.973 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004066/0.3808, allocations: 1.448 MB / 391.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.3809, allocations: 9.344 kB / 391.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.3826, allocations: 252.4 kB / 391.5 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.3828, allocations: 257.1 kB / 391.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.477e-05/0.3829, allocations: 78 kB / 391.8 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.3831, allocations: 96.88 kB / 391.9 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.3849, allocations: 0.9392 MB / 392.8 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.3849, allocations: 7.125 kB / 392.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.184e-05/0.385, allocations: 44.47 kB / 392.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/0.3851, allocations: 23.89 kB / 392.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.3865, allocations: 0.777 MB / 393.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005335/0.3919, allocations: 3.364 MB / 397.1 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/0.3939, allocations: 1.254 MB / 398.3 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005501/0.3945, allocations: 370.3 kB / 398.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.3946, allocations: 105.8 kB / 398.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3946, allocations: 47.58 kB / 398.8 MB, free: 1.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.675e-06/0.3946, allocations: 0 / 398.8 MB, free: 1.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=87): time 0.002304/0.3969, allocations: 1.299 MB / 400.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.397, allocations: 87.02 kB / 400.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005193/0.3975, allocations: 365.7 kB / 400.6 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.3976, allocations: 40.8 kB / 400.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.3979, allocations: 378.6 kB / 401 MB, free: 316 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.3981, allocations: 307.6 kB / 401.3 MB, free: 68 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002876/0.3984, allocations: 172.6 kB / 401.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3985, allocations: 361.1 kB / 401.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004612/0.399, allocations: 263.9 kB / 402.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007104/0.3997, allocations: 479.9 kB / 402.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.4009, allocations: 0.7707 MB / 403.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.4009, allocations: 2.406 kB / 403.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00195/0.4029, allocations: 0.978 MB / 404.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.4029, allocations: 7.5 kB / 404.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.403, allocations: 6.812 kB / 404.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004594/0.4034, allocations: 122.7 kB / 404.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008245/0.4043, allocations: 206 kB / 404.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004621/0.4089, allocations: 6.121 MB / 410.7 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009422/0.4099, allocations: 105.7 kB / 410.8 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-05/0.41, allocations: 43.62 kB / 410.9 MB, free: 7.961 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * 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,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004521/0.4104, allocations: 235.8 kB / 411.1 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.4106, allocations: 53.69 kB / 411.2 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.4123, allocations: 0.8476 MB / 412 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.4123, allocations: 8.938 kB / 412 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.4123, allocations: 2.656 kB / 412 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.4123, allocations: 7.922 kB / 412 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003104/0.4154, allocations: 1.933 MB / 414 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4155, allocations: 1.406 kB / 414 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005804/0.4161, allocations: 134.8 kB / 414.1 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003217/0.4164, allocations: 112.1 kB / 414.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.216e-05/0.4165, allocations: 19.03 kB / 414.2 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003996/0.4205, allocations: 5.704 MB / 419.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.4205, allocations: 10.84 kB / 419.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.4226, allocations: 1.269 MB / 421.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.4228, allocations: 145.7 kB / 421.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.429e-05/0.4229, allocations: 24.22 kB / 421.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/0.4233, allocations: 16.84 kB / 421.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.4235, allocations: 64.86 kB / 421.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/0.4235, allocations: 27.95 kB / 421.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003155/0.4238, allocations: 253.2 kB / 421.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4238, allocations: 4 kB / 421.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001195/0.425, allocations: 254.8 kB / 422 MB, free: 14.53 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.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 (78): * Single equations (assignments): 74 * 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,2,100.0%), (1,2,100.0%), (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.0003334/0.4254, allocations: 156.6 kB / 422.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001975/0.4274, allocations: 1.169 MB / 423.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4274, allocations: 0 / 423.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009969/0.4284, allocations: 0.7916 MB / 424.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006824/0.4291, allocations: 70.05 kB / 424.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.432, allocations: 1.433 MB / 425.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/0.4326, allocations: 0.9071 MB / 426.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.4329, allocations: 63.42 kB / 426.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4329, allocations: 0 / 426.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Templates: time 0.1889/0.6218, allocations: 21 MB / 447.6 MB, free: 5.758 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches