Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.00143, allocations: 177.1 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008277/0.0008279, allocations: 86.7 kB / 262.5 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.132e-05/1.134e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08481/0.08483, allocations: 47.58 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3099/0.3948, allocations: 80.65 MB / 443.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.3951, allocations: 80.77 kB / 443.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02442/0.4195, allocations: 9.84 MB / 453.6 MB, free: 7.055 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4196, allocations: 0 / 453.6 MB, free: 7.055 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.4196, allocations: 8 kB / 453.7 MB, free: 7.047 MB / 330.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.001313/0.4209, allocations: 0.6327 MB / 454.3 MB, free: 6.402 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.421, allocations: 12.03 kB / 454.3 MB, free: 6.391 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005057/0.4215, allocations: 92.09 kB / 454.4 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.422, allocations: 302.4 kB / 454.7 MB, free: 6.004 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.422, allocations: 12 kB / 454.7 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.4221, allocations: 20 kB / 454.7 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003737/0.4224, allocations: 205 kB / 454.9 MB, free: 5.848 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/0.423, allocations: 280.9 kB / 455.2 MB, free: 5.637 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.423, allocations: 0 / 455.2 MB, free: 5.637 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.423, allocations: 0 / 455.2 MB, free: 5.637 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.423, allocations: 12 kB / 455.2 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.425, allocations: 1.305 MB / 456.5 MB, free: 4.457 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.4253, allocations: 163.8 kB / 456.7 MB, free: 4.316 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.4254, allocations: 74.7 kB / 456.7 MB, free: 4.262 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000801/0.4262, allocations: 0.8663 MB / 457.6 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.4263, allocations: 30.56 kB / 457.6 MB, free: 3.293 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.4263, allocations: 0 / 457.6 MB, free: 3.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002836/0.4266, allocations: 126.4 kB / 457.8 MB, free: 3.184 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.4266, allocations: 88.56 kB / 457.8 MB, free: 3.082 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.4269, allocations: 234.3 kB / 458.1 MB, free: 2.887 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4269, allocations: 25.7 kB / 458.1 MB, free: 2.855 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.4271, allocations: 247.5 kB / 458.3 MB, free: 2.648 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.4271, allocations: 49.34 kB / 458.4 MB, free: 2.605 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.4271, allocations: 0 / 458.4 MB, free: 2.605 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4273, allocations: 333.8 kB / 458.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.751e-05/0.4274, allocations: 49.06 kB / 458.8 MB, free: 2.254 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.4275, allocations: 173.7 kB / 458.9 MB, free: 2.047 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.4276, allocations: 69.72 kB / 459 MB, free: 2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.4277, allocations: 7.938 kB / 459 MB, free: 1.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003488/0.428, allocations: 232.4 kB / 459.2 MB, free: 1.797 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.428, allocations: 8.562 kB / 459.2 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4281, allocations: 8 kB / 459.2 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4281, allocations: 8 kB / 459.3 MB, free: 1.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.4284, allocations: 67.91 kB / 459.3 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.4284, allocations: 15.94 kB / 459.3 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.4286, allocations: 27.69 kB / 459.4 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.4286, allocations: 15.81 kB / 459.4 MB, free: 1.652 MB / 330.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 9.211e-05/0.4287, allocations: 120.8 kB / 459.5 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.4288, allocations: 23.72 kB / 459.5 MB, free: 1.504 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.25e-05/0.4288, allocations: 28.11 kB / 459.6 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4288, allocations: 0 / 459.6 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4288, allocations: 0 / 459.6 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-06/0.4289, allocations: 11.94 kB / 459.6 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.4294, allocations: 436.6 kB / 460 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4294, allocations: 0 / 460 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.4296, allocations: 40.02 kB / 460 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.4296, allocations: 4.109 kB / 460 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.4296, allocations: 11.12 kB / 460 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4297, allocations: 0 / 460 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.4297, allocations: 3.953 kB / 460 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.43, allocations: 380.6 kB / 460.4 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.481e-05/0.4301, allocations: 100.9 kB / 460.5 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.4301, allocations: 7.938 kB / 460.5 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.4303, allocations: 11.98 kB / 460.5 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.4304, allocations: 8.047 kB / 460.5 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.4304, allocations: 11.62 kB / 460.6 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.4306, allocations: 178 kB / 460.7 MB, free: 368 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4306, allocations: 0 / 460.7 MB, free: 368 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004345/0.431, allocations: 75.69 kB / 460.8 MB, free: 292 kB / 330.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.0001717/0.4312, allocations: 122.9 kB / 460.9 MB, free: 164 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.4315, allocations: 132.5 kB / 461.1 MB, free: 64 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.4315, allocations: 1.125 kB / 461.1 MB, free: 64 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.491e-05/0.4316, allocations: 52.25 kB / 461.1 MB, free: 28 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.4319, allocations: 23.62 kB / 461.1 MB, free: 8 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008681/0.4327, allocations: 436.4 kB / 461.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.4331, allocations: 0.7833 MB / 462.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.4332, allocations: 30.05 kB / 462.4 MB, free: 14.74 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.4333, allocations: 22.44 kB / 462.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4333, allocations: 4 kB / 462.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of Templates: time 0.004937/0.4382, allocations: 1.806 MB / 464.2 MB, free: 12.93 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches