Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 115.9 kB / 18.4 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 203.5 kB / 19.34 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 57.69 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1072, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006896/0.1142, allocations: 5.243 MB / 364.2 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.1174, allocations: 1.736 MB / 365.9 MB, free: 6.336 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007827/0.1182, allocations: 20 kB / 365.9 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003235/0.1215, allocations: 1.408 MB / 367.3 MB, free: 4.906 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.1226, allocations: 317.7 kB / 367.6 MB, free: 4.594 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.1239, allocations: 0.6535 MB / 368.3 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008599/0.1247, allocations: 0.8165 MB / 369.1 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000988/0.1257, allocations: 0.7496 MB / 369.8 MB, free: 2.355 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.1261, allocations: 350.7 kB / 370.2 MB, free: 2.012 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004617/0.1266, allocations: 466.1 kB / 370.6 MB, free: 1.555 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.675e-05/0.1267, allocations: 79.94 kB / 370.7 MB, free: 1.477 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.1272, allocations: 259.8 kB / 371 MB, free: 1.223 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.1273, allocations: 183.3 kB / 371.2 MB, free: 1.043 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003257/0.1276, allocations: 421.9 kB / 371.6 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1972/0.3249, allocations: 1.196 MB / 372.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3249, allocations: 1.766 kB / 372.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3249, allocations: 0 / 372.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.534e-05/0.325, allocations: 0 / 372.8 MB, free: 12.41 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.004692/0.3297, allocations: 1.448 MB / 374.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3297, allocations: 10.28 kB / 374.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/0.3316, allocations: 257.1 kB / 374.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.3319, allocations: 257.2 kB / 374.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-05/0.332, allocations: 71.59 kB / 374.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.3322, allocations: 102.9 kB / 374.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.334, allocations: 0.9405 MB / 375.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.334, allocations: 7.312 kB / 375.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/0.3341, allocations: 38.69 kB / 375.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.3342, allocations: 24.41 kB / 375.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.3355, allocations: 0.7823 MB / 376.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005697/0.3412, allocations: 3.606 MB / 380.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.3434, allocations: 1.251 MB / 381.5 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005755/0.344, allocations: 375 kB / 381.9 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.3442, allocations: 182.7 kB / 382.1 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.3442, allocations: 43.84 kB / 382.1 MB, free: 8.492 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.286e-06/0.3442, allocations: 1.781 kB / 382.1 MB, free: 8.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002202/0.3464, allocations: 1.303 MB / 383.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.3465, allocations: 86.83 kB / 383.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004794/0.3469, allocations: 376 kB / 383.9 MB, free: 7.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.347, allocations: 37.17 kB / 383.9 MB, free: 7.371 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.3472, allocations: 380.7 kB / 384.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.3475, allocations: 297.9 kB / 384.6 MB, free: 6.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.3477, allocations: 174.6 kB / 384.8 MB, free: 6.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3479, allocations: 366.3 kB / 385.1 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/0.3484, allocations: 262.4 kB / 385.4 MB, free: 6.316 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000693/0.3491, allocations: 477.5 kB / 385.8 MB, free: 5.988 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.3502, allocations: 0.7697 MB / 386.6 MB, free: 5.484 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.3502, allocations: 4.906 kB / 386.6 MB, free: 5.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001663/0.3519, allocations: 0.9774 MB / 387.6 MB, free: 5.082 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3519, allocations: 7.969 kB / 387.6 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.3519, allocations: 6.75 kB / 387.6 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003842/0.3523, allocations: 122.8 kB / 387.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007597/0.3531, allocations: 209.9 kB / 387.9 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/0.3567, allocations: 6.112 MB / 394 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006819/0.3574, allocations: 101 kB / 394.1 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.35e-05/0.3575, allocations: 39.38 kB / 394.2 MB, free: 14.88 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.0003921/0.3579, allocations: 235.1 kB / 394.4 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.358, allocations: 49.89 kB / 394.5 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.3595, allocations: 0.8473 MB / 395.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.3595, allocations: 8.656 kB / 395.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3596, allocations: 4.062 kB / 395.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.3596, allocations: 8.062 kB / 395.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/0.3628, allocations: 2.093 MB / 397.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.3629, allocations: 2.281 kB / 397.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/0.3634, allocations: 134.9 kB / 397.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002793/0.3637, allocations: 110.7 kB / 397.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/0.3638, allocations: 21.69 kB / 397.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004265/0.368, allocations: 5.711 MB / 403.4 MB, free: 7.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.3681, allocations: 6.594 kB / 403.4 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.3699, allocations: 1.273 MB / 404.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.3701, allocations: 142.2 kB / 404.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.255e-05/0.3702, allocations: 22.66 kB / 404.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.3706, allocations: 25.56 kB / 404.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3707, allocations: 64.47 kB / 404.9 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.3708, allocations: 27.25 kB / 404.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002606/0.371, allocations: 252 kB / 405.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.371, allocations: 1.5 kB / 405.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009837/0.372, allocations: 259.7 kB / 405.4 MB, free: 5.949 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.0002619/0.3723, allocations: 174 kB / 405.6 MB, free: 5.828 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.3739, allocations: 1.166 MB / 406.8 MB, free: 5.141 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3739, allocations: 0.5 kB / 406.8 MB, free: 5.141 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007949/0.3747, allocations: 0.8049 MB / 407.6 MB, free: 4.562 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.3753, allocations: 59.38 kB / 407.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.3775, allocations: 1.388 MB / 409 MB, free: 3.738 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.3779, allocations: 0.9145 MB / 410 MB, free: 3.027 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004143/0.3784, allocations: 105.8 kB / 410.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.3785, allocations: 50.69 kB / 410.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3785, allocations: 0 / 410.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of Templates: time 0.01209/0.3906, allocations: 7.077 MB / 417.2 MB, free: 12.92 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches