Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001945/0.001945, allocations: 113.4 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002384/0.002384, allocations: 217.7 kB / 18.92 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247.1 MB, free: 10.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 64.39 kB / 307.1 MB, free: 0.9062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1233, allocations: 50.54 MB / 357.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004708/0.128, allocations: 2.884 MB / 360.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.1304, allocations: 1.195 MB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.1306, allocations: 8 kB / 361.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.1322, allocations: 0.5838 MB / 362.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.1326, allocations: 115.3 kB / 362.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.1339, allocations: 0.6258 MB / 363.1 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004747/0.1344, allocations: 298.6 kB / 363.4 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005429/0.135, allocations: 302.8 kB / 363.7 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.1352, allocations: 139.5 kB / 363.8 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.1354, allocations: 167.4 kB / 364 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.1355, allocations: 24 kB / 364 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004095/0.1359, allocations: 187.8 kB / 364.2 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.136, allocations: 63.77 kB / 364.2 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.1362, allocations: 159.2 kB / 364.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005334/0.1367, allocations: 391.3 kB / 364.8 MB, free: 7.242 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.1367, allocations: 0 / 364.8 MB, free: 7.242 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1367, allocations: 0 / 364.8 MB, free: 7.242 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.1367, allocations: 0 / 364.8 MB, free: 7.242 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001764/0.1385, allocations: 0.7255 MB / 365.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1386, allocations: 12.03 kB / 365.5 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008175/0.1394, allocations: 116.5 kB / 365.6 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.1398, allocations: 260.5 kB / 365.9 MB, free: 6.047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.1398, allocations: 28.97 kB / 365.9 MB, free: 6.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.365e-05/0.1399, allocations: 32.38 kB / 366 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006254/0.1405, allocations: 333 kB / 366.3 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1405, allocations: 4 kB / 366.3 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/0.1406, allocations: 16 kB / 366.3 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.1406, allocations: 11.98 kB / 366.3 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004468/0.1411, allocations: 234.5 kB / 366.5 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.1433, allocations: 1.443 MB / 368 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007954/0.1441, allocations: 0.7028 MB / 368.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.1443, allocations: 108.1 kB / 368.8 MB, free: 2.883 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/0.1445, allocations: 170.1 kB / 369 MB, free: 2.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.1446, allocations: 38.56 kB / 369 MB, free: 2.633 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 2.274e-06/0.1446, allocations: 0 / 369 MB, free: 2.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001308/0.1459, allocations: 495.2 kB / 369.5 MB, free: 2.121 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.1459, allocations: 55.41 kB / 369.5 MB, free: 2.055 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.1462, allocations: 177.1 kB / 369.7 MB, free: 1.867 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.1462, allocations: 29.7 kB / 369.7 MB, free: 1.832 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.1463, allocations: 176 kB / 369.9 MB, free: 1.652 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.054e-05/0.1464, allocations: 86.73 kB / 370 MB, free: 1.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.984e-05/0.1465, allocations: 49.98 kB / 370 MB, free: 1.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1467, allocations: 330.8 kB / 370.4 MB, free: 1.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.1468, allocations: 76.47 kB / 370.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.147, allocations: 129 kB / 370.6 MB, free: 0.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.1474, allocations: 216.8 kB / 370.8 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.1474, allocations: 0 / 370.8 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005945/0.148, allocations: 336.5 kB / 371.1 MB, free: 396 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.148, allocations: 8 kB / 371.1 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.148, allocations: 0 / 371.1 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003489/0.1484, allocations: 84.91 kB / 371.2 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.1485, allocations: 43.91 kB / 371.2 MB, free: 256 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.186/0.3346, allocations: 2.016 MB / 373.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.3348, allocations: 31.72 kB / 373.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.3349, allocations: 9.516 kB / 373.3 MB, free: 18.73 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001728/0.335, allocations: 146.7 kB / 373.4 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.3351, allocations: 14.94 kB / 373.4 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006526/0.3358, allocations: 291.6 kB / 373.7 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3358, allocations: 3.219 kB / 373.7 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3358, allocations: 1.094 kB / 373.7 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.3358, allocations: 2.578 kB / 373.7 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.3369, allocations: 0.6961 MB / 374.4 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3369, allocations: 0.8125 kB / 374.4 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.337, allocations: 27.58 kB / 374.5 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/0.3373, allocations: 79.39 kB / 374.5 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.3373, allocations: 6.531 kB / 374.5 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.3389, allocations: 2.024 MB / 376.6 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.339, allocations: 2.688 kB / 376.6 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006199/0.3396, allocations: 454.9 kB / 377 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.787e-05/0.3397, allocations: 114.1 kB / 377.1 MB, free: 16.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.3397, allocations: 6 kB / 377.1 MB, free: 16.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.3398, allocations: 1.094 kB / 377.1 MB, free: 16.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.3399, allocations: 19.41 kB / 377.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.3399, allocations: 6.719 kB / 377.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.644e-05/0.34, allocations: 127.6 kB / 377.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.34, allocations: 0 / 377.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005775/0.3406, allocations: 98.41 kB / 377.4 MB, free: 15.91 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002551/0.3409, allocations: 130 kB / 377.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006406/0.3415, allocations: 354.8 kB / 377.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3415, allocations: 7.375 kB / 377.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.3418, allocations: 243.7 kB / 378.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.3422, allocations: 19.89 kB / 378.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.3432, allocations: 0.7115 MB / 378.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.3434, allocations: 0.7549 MB / 379.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.3435, allocations: 23.09 kB / 379.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3435, allocations: 1.375 kB / 379.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Templates: time 0.007558/0.3511, allocations: 4.017 MB / 383.6 MB, free: 13.84 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches