Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001654/0.001654, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 225.6 MB / 234.8 MB, free: 3.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008223/0.0008224, allocations: 103.1 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.419e-05/1.424e-05, allocations: 0 / 343.7 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1353, allocations: 51.48 MB / 395.2 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4616/0.597, allocations: 82.62 MB / 477.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.5973, allocations: 78.58 kB / 477.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02389/0.6212, allocations: 10.61 MB / 488.5 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6212, allocations: 0 / 488.5 MB, free: 2.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.6212, allocations: 4 kB / 488.5 MB, free: 2.047 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001122/0.6224, allocations: 0.6484 MB / 489.1 MB, free: 1.391 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.6224, allocations: 8.031 kB / 489.1 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005819/0.623, allocations: 106.3 kB / 489.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.6234, allocations: 299 kB / 489.5 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.6234, allocations: 15.61 kB / 489.5 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.6235, allocations: 20 kB / 489.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003313/0.6238, allocations: 203.6 kB / 489.8 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.6242, allocations: 285.5 kB / 490 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.6243, allocations: 0 / 490 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.6243, allocations: 0 / 490 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.6243, allocations: 8 kB / 490 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.6262, allocations: 1.303 MB / 491.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.6265, allocations: 158.4 kB / 491.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.6266, allocations: 83.08 kB / 491.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009844/0.6276, allocations: 1.198 MB / 492.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.6277, allocations: 34.72 kB / 492.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.6277, allocations: 4 kB / 492.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003011/0.628, allocations: 124.8 kB / 492.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.628, allocations: 85 kB / 493 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.6283, allocations: 232.6 kB / 493.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.6283, allocations: 25.7 kB / 493.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.6284, allocations: 242.5 kB / 493.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.6285, allocations: 46.61 kB / 493.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.6285, allocations: 4 kB / 493.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6286, allocations: 337.9 kB / 493.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.759e-05/0.6287, allocations: 50.11 kB / 493.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.6289, allocations: 165.7 kB / 494.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.629, allocations: 69.61 kB / 494.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.629, allocations: 4.938 kB / 494.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003353/0.6293, allocations: 234.8 kB / 494.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6294, allocations: 4 kB / 494.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.6294, allocations: 4 kB / 494.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.6294, allocations: 9.969 kB / 494.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.6297, allocations: 84.34 kB / 494.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.6297, allocations: 11.94 kB / 494.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.6299, allocations: 35.75 kB / 494.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.6299, allocations: 12 kB / 494.6 MB, free: 12.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.597e-05/0.63, allocations: 112.7 kB / 494.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.02e-05/0.63, allocations: 23.72 kB / 494.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.6301, allocations: 28.48 kB / 494.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.6301, allocations: 8 kB / 494.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.6301, allocations: 0 / 494.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6301, allocations: 3.953 kB / 494.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005312/0.6307, allocations: 438.7 kB / 495.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6307, allocations: 4 kB / 495.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.6309, allocations: 38.67 kB / 495.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.6309, allocations: 8.031 kB / 495.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.6309, allocations: 0 / 495.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.6309, allocations: 3.984 kB / 495.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.6309, allocations: 11.89 kB / 495.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.6313, allocations: 367.1 kB / 495.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.6314, allocations: 108.4 kB / 495.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.6314, allocations: 3.984 kB / 495.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.6316, allocations: 13.78 kB / 495.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.6317, allocations: 7.984 kB / 495.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.6317, allocations: 4 kB / 495.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001528/0.6319, allocations: 180.1 kB / 495.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6319, allocations: 4.062 kB / 495.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003915/0.6323, allocations: 75.88 kB / 496 MB, free: 10.88 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000174/0.6324, allocations: 126.1 kB / 496.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.6327, allocations: 133.8 kB / 496.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6327, allocations: 0 / 496.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.6328, allocations: 45.62 kB / 496.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.633, allocations: 19.02 kB / 496.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008498/0.6339, allocations: 463.8 kB / 496.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.6342, allocations: 0.7833 MB / 497.5 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.6344, allocations: 30.06 kB / 497.6 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.6344, allocations: 22.31 kB / 497.6 MB, free: 9.305 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6344, allocations: 0 / 497.6 MB, free: 9.305 MB / 362.7 MB Notification: Performance of Templates: time 0.00489/0.6393, allocations: 1.826 MB / 499.4 MB, free: 7.543 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches