Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.246/1.246, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008477/0.0008477, allocations: 89.16 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.0004679, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3545, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00616/0.3607, allocations: 4.434 MB / 379 MB, free: 41.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003817/0.3645, allocations: 1.566 MB / 380.6 MB, free: 40.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006033/0.3652, allocations: 16.5 kB / 380.6 MB, free: 40.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007271/0.3659, allocations: 190.5 kB / 380.8 MB, free: 40.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009966/0.367, allocations: 259.8 kB / 381 MB, free: 40.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.3689, allocations: 0.6603 MB / 381.7 MB, free: 39.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.3702, allocations: 0.743 MB / 382.4 MB, free: 39.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003416/0.3736, allocations: 1.353 MB / 383.8 MB, free: 38.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007321/0.3744, allocations: 292 kB / 384.1 MB, free: 38.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009424/0.3753, allocations: 390.8 kB / 384.4 MB, free: 38.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002717/0.3756, allocations: 35.69 kB / 384.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009827/0.3766, allocations: 206.8 kB / 384.7 MB, free: 37.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.3768, allocations: 135.5 kB / 384.8 MB, free: 37.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004348/0.3773, allocations: 167.2 kB / 385 MB, free: 37.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.3788, allocations: 0.8914 MB / 385.9 MB, free: 37.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3788, allocations: 0 / 385.9 MB, free: 37.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.3788, allocations: 0 / 385.9 MB, free: 37.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.945e-05/0.3788, allocations: 5.156 kB / 385.9 MB, free: 37.04 MB / 298.7 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.005958/0.3848, allocations: 1.287 MB / 387.2 MB, free: 36.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.3849, allocations: 8.812 kB / 387.2 MB, free: 36.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/0.3875, allocations: 260 kB / 387.4 MB, free: 35.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.388, allocations: 259.5 kB / 387.7 MB, free: 35.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.98e-05/0.3881, allocations: 77.98 kB / 387.8 MB, free: 35.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/0.3883, allocations: 99.91 kB / 387.8 MB, free: 35.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/0.3908, allocations: 0.9302 MB / 388.8 MB, free: 34.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.947e-05/0.3908, allocations: 7.984 kB / 388.8 MB, free: 34.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.391, allocations: 40 kB / 388.8 MB, free: 34.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.391, allocations: 24 kB / 388.8 MB, free: 34.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.3931, allocations: 0.773 MB / 389.6 MB, free: 33.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007062/0.4001, allocations: 3.397 MB / 393 MB, free: 30.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/0.4027, allocations: 1.248 MB / 394.3 MB, free: 28.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007443/0.4034, allocations: 369.2 kB / 394.6 MB, free: 28.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.4036, allocations: 106.1 kB / 394.7 MB, free: 28.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.4036, allocations: 43.56 kB / 394.8 MB, free: 28.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 4.499e-06/0.4036, allocations: 0 / 394.8 MB, free: 28.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=87): time 0.00294/0.4066, allocations: 1.3 MB / 396.1 MB, free: 26.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.4066, allocations: 86.11 kB / 396.2 MB, free: 26.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005187/0.4072, allocations: 368.3 kB / 396.5 MB, free: 26.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.4072, allocations: 41.7 kB / 396.6 MB, free: 26.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.4075, allocations: 382.8 kB / 396.9 MB, free: 25.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000285/0.4078, allocations: 295.7 kB / 397.2 MB, free: 25.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.4079, allocations: 20 kB / 397.2 MB, free: 25.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.408, allocations: 358.8 kB / 397.6 MB, free: 25.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006727/0.4087, allocations: 266.5 kB / 397.9 MB, free: 24.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007806/0.4094, allocations: 471.4 kB / 398.3 MB, free: 24.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008248/0.4103, allocations: 334.9 kB / 398.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.4103, allocations: 0 / 398.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002266/0.4126, allocations: 0.9729 MB / 399.6 MB, free: 23.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.4126, allocations: 4 kB / 399.6 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/0.4127, allocations: 8 kB / 399.6 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000541/0.4132, allocations: 123.4 kB / 399.7 MB, free: 22.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.4144, allocations: 207.7 kB / 399.9 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/0.4184, allocations: 5.571 MB / 405.5 MB, free: 16.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008268/0.4193, allocations: 98.95 kB / 405.6 MB, free: 16.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.965e-05/0.4194, allocations: 40 kB / 405.7 MB, free: 16.52 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004441/0.4198, allocations: 233.5 kB / 405.9 MB, free: 16.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.42, allocations: 59.3 kB / 405.9 MB, free: 16.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.4217, allocations: 0.8441 MB / 406.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.4217, allocations: 8 kB / 406.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.4217, allocations: 4 kB / 406.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.4218, allocations: 3.984 kB / 406.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003351/0.4251, allocations: 1.932 MB / 408.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.4251, allocations: 4 kB / 408.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007537/0.4259, allocations: 135.8 kB / 408.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003532/0.4263, allocations: 111.6 kB / 409 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/0.4263, allocations: 20 kB / 409 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00312/0.4295, allocations: 5.295 MB / 414.3 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.4295, allocations: 3.938 kB / 414.3 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.4317, allocations: 1.268 MB / 415.6 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.4319, allocations: 152.3 kB / 415.7 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.4321, allocations: 20 kB / 415.7 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006081/0.4327, allocations: 19.98 kB / 415.7 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.4328, allocations: 64.47 kB / 415.8 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-05/0.4329, allocations: 28 kB / 415.8 MB, free: 5.551 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000322/0.4332, allocations: 251.2 kB / 416.1 MB, free: 5.309 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4332, allocations: 4 kB / 416.1 MB, free: 5.305 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001554/0.4348, allocations: 255.4 kB / 416.3 MB, free: 5.055 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003247/0.4351, allocations: 155 kB / 416.5 MB, free: 4.891 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002135/0.4373, allocations: 1.157 MB / 417.6 MB, free: 3.684 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4373, allocations: 0 / 417.6 MB, free: 3.684 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.4383, allocations: 0.7928 MB / 418.4 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008979/0.4393, allocations: 65.48 kB / 418.5 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/0.4429, allocations: 1.746 MB / 420.2 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.4434, allocations: 0.9226 MB / 421.2 MB, free: 12 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/0.4438, allocations: 59.48 kB / 421.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of SimCode: time 7.82e-07/0.4439, allocations: 0 / 421.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of Templates: time 0.03357/0.4774, allocations: 20.84 MB / 442.1 MB, free: 11.1 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches