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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008729/0.0008729, allocations: 97.98 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.261e-05/1.264e-05, allocations: 4 kB / 343.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09159/0.09162, allocations: 51.48 MB / 395.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3008/0.3925, allocations: 81.19 MB / 476.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.3928, allocations: 83.41 kB / 476.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02492/0.4178, allocations: 11.93 MB / 488.4 MB, free: 2.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4178, allocations: 0 / 488.4 MB, free: 2.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.4178, allocations: 4 kB / 488.4 MB, free: 2.535 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.001156/0.419, allocations: 0.6168 MB / 489 MB, free: 1.918 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.419, allocations: 8.031 kB / 489 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006382/0.4197, allocations: 104.6 kB / 489.1 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.42, allocations: 254.5 kB / 489.4 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.42, allocations: 12.86 kB / 489.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.42, allocations: 23.91 kB / 489.4 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003208/0.4204, allocations: 220.2 kB / 489.6 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.4208, allocations: 280.2 kB / 489.9 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.4208, allocations: 0 / 489.9 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.4208, allocations: 4 kB / 489.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4208, allocations: 8 kB / 489.9 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.4224, allocations: 1.383 MB / 491.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006297/0.423, allocations: 0.685 MB / 492 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.4232, allocations: 91.98 kB / 492.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/0.4234, allocations: 169.6 kB / 492.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.4234, allocations: 34.56 kB / 492.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.743e-06/0.4234, allocations: 0 / 492.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008208/0.4243, allocations: 298.9 kB / 492.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.4243, allocations: 51.41 kB / 492.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.4244, allocations: 134.3 kB / 492.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4245, allocations: 25.7 kB / 492.8 MB, free: 14.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.4246, allocations: 177.6 kB / 492.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.4246, allocations: 86.12 kB / 493 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.4247, allocations: 0 / 493 MB, free: 14.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4248, allocations: 329.5 kB / 493.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.139e-05/0.4249, allocations: 57.19 kB / 493.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.425, allocations: 114.7 kB / 493.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.4255, allocations: 145.2 kB / 493.6 MB, free: 13.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4255, allocations: 0 / 493.6 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008043/0.4263, allocations: 345.3 kB / 494 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.4263, allocations: 4 kB / 494 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4263, allocations: 4 kB / 494 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003029/0.4266, allocations: 70.92 kB / 494.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.4268, allocations: 42.98 kB / 494.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.4285, allocations: 1.75 MB / 495.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.4286, allocations: 23.73 kB / 495.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.4287, allocations: 19.25 kB / 495.9 MB, free: 11.58 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 () * 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 8.672e-05/0.4288, allocations: 101 kB / 496 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.4288, allocations: 21.58 kB / 496 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007888/0.4296, allocations: 317.6 kB / 496.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4296, allocations: 4 kB / 496.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.4296, allocations: 0 / 496.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4296, allocations: 3.984 kB / 496.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.4308, allocations: 0.6765 MB / 497 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4308, allocations: 0 / 497 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.4309, allocations: 27.61 kB / 497 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/0.4312, allocations: 75.12 kB / 497.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.4312, allocations: 4 kB / 497.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.4328, allocations: 1.752 MB / 498.9 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4328, allocations: 0 / 498.9 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008951/0.4338, allocations: 478.2 kB / 499.3 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.441e-05/0.4339, allocations: 114.5 kB / 499.4 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.4339, allocations: 7.953 kB / 499.4 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.434, allocations: 2.812 kB / 499.5 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.4341, allocations: 15.97 kB / 499.5 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.4341, allocations: 7 kB / 499.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.045e-05/0.4342, allocations: 114.4 kB / 499.6 MB, free: 8.238 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4342, allocations: 0 / 499.6 MB, free: 8.238 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004908/0.4347, allocations: 99 kB / 499.7 MB, free: 8.145 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 () * 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.0002091/0.4349, allocations: 126.4 kB / 499.8 MB, free: 8.016 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004889/0.4354, allocations: 308.8 kB / 0.4884 GB, free: 7.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4354, allocations: 0 / 0.4884 GB, free: 7.773 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.4357, allocations: 241.5 kB / 0.4886 GB, free: 7.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.4359, allocations: 7.5 kB / 0.4886 GB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007772/0.4367, allocations: 382 kB / 0.489 GB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.4371, allocations: 0.7597 MB / 0.4897 GB, free: 6.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000119/0.4372, allocations: 29.84 kB / 0.4898 GB, free: 6.398 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.4372, allocations: 15.44 kB / 0.4898 GB, free: 6.387 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4372, allocations: 0 / 0.4898 GB, free: 6.387 MB / 362.7 MB Notification: Performance of Templates: time 0.00576/0.443, allocations: 2.288 MB / 0.492 GB, free: 4.164 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches