Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008929/0.0008929, allocations: 88.22 kB / 16.65 MB, free: 6.535 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.001117/0.001116, allocations: 175.2 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002434/0.0002434, allocations: 12.08 kB / 301.4 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/0.09748, allocations: 50.41 MB / 351.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005657/0.1032, allocations: 4.759 MB / 356.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003095/0.1063, allocations: 1.647 MB / 358.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005857/0.1069, allocations: 16 kB / 358.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008166/0.1078, allocations: 266.9 kB / 358.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.1089, allocations: 262.4 kB / 358.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.1106, allocations: 0.7861 MB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.1119, allocations: 0.7702 MB / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002909/0.1148, allocations: 1.491 MB / 361.8 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004794/0.1153, allocations: 294.7 kB / 362.1 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006365/0.116, allocations: 406.2 kB / 362.5 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.1161, allocations: 36 kB / 362.5 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006692/0.1168, allocations: 215.8 kB / 362.8 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.117, allocations: 139.3 kB / 362.9 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004695/0.1174, allocations: 395.7 kB / 363.3 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.1189, allocations: 1.137 MB / 364.4 MB, free: 7.047 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1189, allocations: 3.938 kB / 364.4 MB, free: 7.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1189, allocations: 0 / 364.4 MB, free: 7.043 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.13e-05/0.1189, allocations: 0 / 364.4 MB, free: 7.043 MB / 302.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.004034/0.123, allocations: 1.28 MB / 365.7 MB, free: 5.711 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.123, allocations: 8.031 kB / 365.7 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/0.1249, allocations: 255.7 kB / 366 MB, free: 5.453 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.1252, allocations: 259.2 kB / 366.2 MB, free: 5.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.1254, allocations: 74.38 kB / 366.3 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003107/0.1257, allocations: 104.3 kB / 366.4 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.1279, allocations: 0.9425 MB / 367.3 MB, free: 4.031 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.569e-05/0.1279, allocations: 4 kB / 367.3 MB, free: 4.027 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.747e-05/0.128, allocations: 36 kB / 367.4 MB, free: 3.992 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.1281, allocations: 24 kB / 367.4 MB, free: 3.969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.1297, allocations: 0.7808 MB / 368.2 MB, free: 3.191 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1617/0.2914, allocations: 3.397 MB / 371.6 MB, free: 23.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.2934, allocations: 1.259 MB / 372.8 MB, free: 23.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/0.2939, allocations: 379.7 kB / 373.2 MB, free: 23.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.294, allocations: 104.3 kB / 373.3 MB, free: 23.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2941, allocations: 41.39 kB / 373.3 MB, free: 23.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.564e-06/0.2941, allocations: 0 / 373.3 MB, free: 23.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002076/0.2962, allocations: 1.306 MB / 374.6 MB, free: 22.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2962, allocations: 99.97 kB / 374.7 MB, free: 22.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004084/0.2966, allocations: 364.5 kB / 375.1 MB, free: 22.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.2967, allocations: 40.45 kB / 375.1 MB, free: 22.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.2969, allocations: 378.2 kB / 375.5 MB, free: 22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.297, allocations: 300.7 kB / 375.8 MB, free: 21.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.405e-05/0.2971, allocations: 83.2 kB / 375.9 MB, free: 21.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.835e-05/0.2972, allocations: 366 kB / 376.2 MB, free: 21.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004249/0.2976, allocations: 262 kB / 376.5 MB, free: 21.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.2982, allocations: 480.3 kB / 377 MB, free: 20.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009224/0.2991, allocations: 0.7689 MB / 377.7 MB, free: 20.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.2991, allocations: 2.75 kB / 377.7 MB, free: 20.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001523/0.3007, allocations: 0.9718 MB / 378.7 MB, free: 20.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.3007, allocations: 8.188 kB / 378.7 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.3007, allocations: 8.781 kB / 378.7 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003597/0.3011, allocations: 123.8 kB / 378.8 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007283/0.3018, allocations: 215.2 kB / 379.1 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/0.3046, allocations: 5.568 MB / 384.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005415/0.3051, allocations: 103.9 kB / 384.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.3052, allocations: 42.94 kB / 384.8 MB, free: 14.29 MB / 302.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.0002806/0.3055, allocations: 233.5 kB / 385 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.3056, allocations: 52.73 kB / 385 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.307, allocations: 0.8506 MB / 385.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.307, allocations: 13.16 kB / 385.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.307, allocations: 2.906 kB / 385.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.307, allocations: 4.359 kB / 385.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.3097, allocations: 1.939 MB / 387.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.3097, allocations: 2.719 kB / 387.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/0.3103, allocations: 135.4 kB / 388 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002963/0.3106, allocations: 101.5 kB / 388.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.3107, allocations: 30.23 kB / 388.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.313, allocations: 5.295 MB / 393.4 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.313, allocations: 6.688 kB / 393.4 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.3146, allocations: 1.273 MB / 394.7 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.3148, allocations: 152 kB / 394.8 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.24e-05/0.3148, allocations: 15.2 kB / 394.9 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.3152, allocations: 21.12 kB / 394.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/0.3153, allocations: 67.8 kB / 394.9 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.3153, allocations: 33.77 kB / 395 MB, free: 6.059 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002371/0.3156, allocations: 251.5 kB / 395.2 MB, free: 5.918 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3156, allocations: 0 / 395.2 MB, free: 5.918 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009141/0.3165, allocations: 259.1 kB / 395.5 MB, free: 5.855 MB / 302.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.0002154/0.3167, allocations: 155.8 kB / 395.6 MB, free: 5.742 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.3181, allocations: 1.174 MB / 396.8 MB, free: 5.027 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3181, allocations: 1.062 kB / 396.8 MB, free: 5.027 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006768/0.3188, allocations: 0.7927 MB / 397.6 MB, free: 4.438 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/0.3194, allocations: 62.48 kB / 397.7 MB, free: 4.406 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.3216, allocations: 1.799 MB / 399.5 MB, free: 3.242 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.322, allocations: 0.9109 MB / 400.4 MB, free: 2.535 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000479/0.3225, allocations: 111.1 kB / 400.5 MB, free: 2.484 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.3226, allocations: 52.98 kB / 400.5 MB, free: 2.473 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3226, allocations: 0 / 400.5 MB, free: 2.473 MB / 302.1 MB Notification: Performance of Templates: time 0.01069/0.3333, allocations: 6.791 MB / 407.3 MB, free: 15.29 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches