Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 183.2 kB / 18.04 MB, free: 3.781 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.438/1.438, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007458/0.0007456, allocations: 89.5 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003001, allocations: 11.98 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2311, allocations: 47.56 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08892/0.32, allocations: 79.94 MB / 457 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.3203, allocations: 87.94 kB / 457.1 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02488/0.3452, allocations: 11.17 MB / 468.2 MB, free: 5.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3452, allocations: 0 / 468.2 MB, free: 5.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.3453, allocations: 4 kB / 468.2 MB, free: 5.199 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001172/0.3464, allocations: 0.6201 MB / 468.8 MB, free: 4.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3465, allocations: 8.031 kB / 468.9 MB, free: 4.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006491/0.3471, allocations: 112.4 kB / 469 MB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.3475, allocations: 260.6 kB / 469.2 MB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.3475, allocations: 25.03 kB / 469.2 MB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/0.3476, allocations: 32.38 kB / 469.3 MB, free: 4.066 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.3481, allocations: 329.6 kB / 469.6 MB, free: 3.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.3481, allocations: 3.938 kB / 469.6 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.3481, allocations: 16 kB / 469.6 MB, free: 3.711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3481, allocations: 8 kB / 469.6 MB, free: 3.703 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003796/0.3485, allocations: 242.5 kB / 469.9 MB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.3503, allocations: 1.452 MB / 471.3 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.3509, allocations: 0.6962 MB / 472 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.351, allocations: 108.8 kB / 472.1 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.964e-05/0.3511, allocations: 81.11 kB / 472.2 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.3512, allocations: 42.5 kB / 472.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.453e-06/0.3512, allocations: 0 / 472.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001179/0.3524, allocations: 0.4915 MB / 472.7 MB, free: 292 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.3524, allocations: 55.41 kB / 472.8 MB, free: 224 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.3526, allocations: 175.2 kB / 473 MB, free: 32 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.3526, allocations: 29.78 kB / 473 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.3527, allocations: 175.9 kB / 473.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.013e-05/0.3528, allocations: 82.84 kB / 473.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.3528, allocations: 4 kB / 473.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.353, allocations: 330.8 kB / 473.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.3531, allocations: 64.55 kB / 473.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.3533, allocations: 123.3 kB / 473.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.3536, allocations: 204.2 kB / 473.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3536, allocations: 0 / 473.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000528/0.3541, allocations: 328.7 kB / 474.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3541, allocations: 4 kB / 474.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3542, allocations: 0 / 474.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/0.3545, allocations: 76.75 kB / 474.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.3546, allocations: 39.98 kB / 474.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.3564, allocations: 1.843 MB / 476.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.3566, allocations: 23.78 kB / 476.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.3566, allocations: 8 kB / 476.3 MB, free: 12.53 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.3567, allocations: 145.8 kB / 476.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.3568, allocations: 19.72 kB / 476.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005049/0.3573, allocations: 288.7 kB / 476.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3573, allocations: 7.984 kB / 476.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3573, allocations: 7.938 kB / 476.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.3573, allocations: 0 / 476.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009098/0.3583, allocations: 0.6938 MB / 477.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3583, allocations: 0 / 477.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.3584, allocations: 27.98 kB / 477.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002183/0.3586, allocations: 76.73 kB / 477.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3586, allocations: 8 kB / 477.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.3602, allocations: 1.835 MB / 479.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3602, allocations: 0 / 479.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005946/0.3608, allocations: 448.5 kB / 479.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.134e-05/0.3609, allocations: 112.9 kB / 479.9 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.361, allocations: 7.938 kB / 479.9 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3611, allocations: 4 kB / 479.9 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.3611, allocations: 23.91 kB / 479.9 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.3611, allocations: 8 kB / 479.9 MB, free: 8.586 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.098e-05/0.3612, allocations: 119.2 kB / 480.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3612, allocations: 0 / 480.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004587/0.3617, allocations: 99.78 kB / 480.2 MB, free: 8.371 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001959/0.3619, allocations: 127.3 kB / 480.3 MB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005463/0.3625, allocations: 355.2 kB / 480.6 MB, free: 7.875 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3625, allocations: 4 kB / 480.6 MB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.3628, allocations: 239 kB / 480.9 MB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.3631, allocations: 23.94 kB / 480.9 MB, free: 7.602 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.3641, allocations: 0.7368 MB / 481.6 MB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.3644, allocations: 0.748 MB / 482.4 MB, free: 6.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000167/0.3646, allocations: 25.94 kB / 482.4 MB, free: 6.043 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.3647, allocations: 15.44 kB / 482.4 MB, free: 6.027 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3647, allocations: 0 / 482.4 MB, free: 6.027 MB / 362.7 MB Notification: Performance of Templates: time 0.005447/0.3701, allocations: 2.412 MB / 484.8 MB, free: 3.625 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_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/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches