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.001564/0.001564, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.00181/0.00181, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.288/1.288, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001201/0.001201, allocations: 47.94 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07658/0.0778, allocations: 46.63 MB / 328.7 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005986/0.08381, allocations: 5.21 MB / 333.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.08646, allocations: 1.717 MB / 335.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.0867, allocations: 16 kB / 335.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002882/0.08959, allocations: 1.416 MB / 337.1 MB, free: 11.33 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006318/0.09023, allocations: 309.7 kB / 337.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.09173, allocations: 0.8213 MB / 338.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008918/0.09263, allocations: 0.813 MB / 339 MB, free: 9.383 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.09373, allocations: 0.7652 MB / 339.8 MB, free: 8.609 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000448/0.09419, allocations: 350.7 kB / 340.1 MB, free: 8.266 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005776/0.09478, allocations: 466.1 kB / 340.6 MB, free: 7.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.09492, allocations: 76 kB / 340.7 MB, free: 7.734 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004803/0.09541, allocations: 255.8 kB / 340.9 MB, free: 7.484 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.09554, allocations: 171.4 kB / 341.1 MB, free: 7.316 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004065/0.09596, allocations: 441.8 kB / 341.5 MB, free: 6.883 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.09705, allocations: 1.18 MB / 342.7 MB, free: 5.699 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.09707, allocations: 4 kB / 342.7 MB, free: 5.695 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09707, allocations: 3.938 kB / 342.7 MB, free: 5.691 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.701e-05/0.09711, allocations: 0 / 342.7 MB, free: 5.691 MB / 286.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.003703/0.1008, allocations: 1.436 MB / 344.1 MB, free: 4.203 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1009, allocations: 12.03 kB / 344.1 MB, free: 4.191 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/0.1025, allocations: 251.7 kB / 344.4 MB, free: 3.945 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.1027, allocations: 259.2 kB / 344.6 MB, free: 3.652 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.02e-05/0.1028, allocations: 70.38 kB / 344.7 MB, free: 3.586 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.1029, allocations: 100.3 kB / 344.8 MB, free: 3.488 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.1044, allocations: 0.9501 MB / 345.8 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.1044, allocations: 0 / 345.8 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.523e-05/0.1045, allocations: 40 kB / 345.8 MB, free: 2.484 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.1045, allocations: 24 kB / 345.8 MB, free: 2.461 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.1058, allocations: 0.7808 MB / 346.6 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004616/0.1104, allocations: 3.345 MB / 350 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.1122, allocations: 1.268 MB / 351.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004993/0.1127, allocations: 365.2 kB / 351.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.1128, allocations: 106.1 kB / 351.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.1128, allocations: 39.56 kB / 351.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.124e-06/0.1128, allocations: 3.938 kB / 351.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.001989/0.1148, allocations: 1.312 MB / 353 MB, free: 10.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.1149, allocations: 86.11 kB / 353.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.1153, allocations: 368.2 kB / 353.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.1153, allocations: 41.7 kB / 353.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.1155, allocations: 382.8 kB / 353.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.1157, allocations: 295.7 kB / 354.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.116, allocations: 182.8 kB / 354.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1161, allocations: 358.8 kB / 354.7 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004316/0.1166, allocations: 270.5 kB / 355 MB, free: 8.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005565/0.1171, allocations: 471.4 kB / 355.4 MB, free: 8.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.1182, allocations: 0.7706 MB / 356.2 MB, free: 7.469 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1182, allocations: 0 / 356.2 MB, free: 7.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001625/0.1198, allocations: 0.9807 MB / 357.2 MB, free: 6.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1198, allocations: 8 kB / 357.2 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1199, allocations: 8 kB / 357.2 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003948/0.1203, allocations: 123.3 kB / 357.3 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/0.121, allocations: 199.7 kB / 357.5 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004067/0.1251, allocations: 6.118 MB / 363.6 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/0.1257, allocations: 106.8 kB / 363.7 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.1257, allocations: 36 kB / 363.8 MB, free: 15.31 MB / 318.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.0002765/0.126, allocations: 241.5 kB / 364 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.1261, allocations: 47.44 kB / 364.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.1275, allocations: 0.8521 MB / 364.9 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.1275, allocations: 12 kB / 364.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1275, allocations: 0 / 364.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.1276, allocations: 7.922 kB / 364.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.1302, allocations: 1.93 MB / 366.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.1302, allocations: 0 / 366.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/0.1308, allocations: 143.7 kB / 367 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002887/0.1311, allocations: 115.6 kB / 367.1 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/0.1311, allocations: 16 kB / 367.1 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003518/0.1347, allocations: 5.701 MB / 372.8 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.1347, allocations: 7.922 kB / 372.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.1364, allocations: 1.277 MB / 374.1 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.1366, allocations: 140.4 kB / 374.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/0.1366, allocations: 27.91 kB / 374.3 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.137, allocations: 20 kB / 374.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.451e-05/0.1371, allocations: 64.64 kB / 374.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.1372, allocations: 24 kB / 374.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002748/0.1375, allocations: 255.2 kB / 374.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.1375, allocations: 0 / 374.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009055/0.1384, allocations: 267.2 kB / 374.9 MB, free: 3.371 MB / 318.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.0002467/0.1386, allocations: 151 kB / 375 MB, free: 3.215 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.1401, allocations: 1.177 MB / 376.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1401, allocations: 448 / 376.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007858/0.1409, allocations: 0.7913 MB / 377 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.1415, allocations: 65.36 kB / 377.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.125/0.2665, allocations: 1.388 MB / 378.5 MB, free: 52.71 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.2669, allocations: 0.9138 MB / 379.4 MB, free: 52.01 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005209/0.2674, allocations: 103.6 kB / 379.5 MB, free: 52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.2676, allocations: 51.45 kB / 379.5 MB, free: 52 MB / 318.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2676, allocations: 2.781 kB / 379.5 MB, free: 52 MB / 318.1 MB Notification: Performance of Templates: time 0.01393/0.2815, allocations: 7.026 MB / 386.6 MB, free: 50.98 MB / 318.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 -s gbode -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