Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001537/0.001537, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 96.88 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.669e-05/1.684e-05, allocations: 0 / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3408, allocations: 47.57 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.4793, allocations: 80.41 MB / 442.8 MB, free: 5.887 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.4796, allocations: 79.95 kB / 442.8 MB, free: 5.809 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04247/0.5221, allocations: 9.848 MB / 452.7 MB, free: 11.92 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5221, allocations: 1.031 kB / 452.7 MB, free: 11.92 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.832e-05/0.5222, allocations: 8 kB / 452.7 MB, free: 11.91 MB / 347.1 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.001799/0.524, allocations: 0.6394 MB / 453.3 MB, free: 11.23 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.5241, allocations: 8.031 kB / 453.3 MB, free: 11.22 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007629/0.5248, allocations: 83.48 kB / 453.4 MB, free: 11.14 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006674/0.5255, allocations: 298 kB / 453.7 MB, free: 10.81 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.5256, allocations: 15.98 kB / 453.7 MB, free: 10.8 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.891e-05/0.5257, allocations: 20 kB / 453.7 MB, free: 10.78 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006602/0.5263, allocations: 201.5 kB / 453.9 MB, free: 10.58 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/0.5271, allocations: 285 kB / 454.2 MB, free: 10.29 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.5271, allocations: 0 / 454.2 MB, free: 10.29 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.5272, allocations: 1.312 kB / 454.2 MB, free: 10.29 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.5272, allocations: 8 kB / 454.2 MB, free: 10.28 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.5305, allocations: 1.322 MB / 455.6 MB, free: 8.867 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.531, allocations: 149.2 kB / 455.7 MB, free: 8.703 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.5312, allocations: 69.72 kB / 455.8 MB, free: 8.629 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.5325, allocations: 0.8711 MB / 456.6 MB, free: 7.656 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.5325, allocations: 30.56 kB / 456.7 MB, free: 7.617 MB / 347.1 MB Notification: Performance of pre-optimization done (n=13): time 3.136e-06/0.5326, allocations: 0 / 456.7 MB, free: 7.617 MB / 347.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004182/0.533, allocations: 125.3 kB / 456.8 MB, free: 7.488 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.5331, allocations: 85.06 kB / 456.9 MB, free: 7.387 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.5335, allocations: 242.2 kB / 457.1 MB, free: 7.145 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.5335, allocations: 25.7 kB / 457.1 MB, free: 7.113 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.5337, allocations: 296.1 kB / 457.4 MB, free: 6.824 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.507e-05/0.5338, allocations: 51.34 kB / 457.5 MB, free: 6.773 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.5339, allocations: 0 / 457.5 MB, free: 6.773 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.534, allocations: 323.3 kB / 457.8 MB, free: 6.449 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.5342, allocations: 44 kB / 457.8 MB, free: 6.406 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.5345, allocations: 177 kB / 458 MB, free: 6.172 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.5347, allocations: 70.02 kB / 458.1 MB, free: 6.105 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.5347, allocations: 3.938 kB / 458.1 MB, free: 6.102 MB / 347.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005776/0.5353, allocations: 225.3 kB / 458.3 MB, free: 5.875 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.5353, allocations: 4 kB / 458.3 MB, free: 5.871 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.5353, allocations: 10.34 kB / 458.3 MB, free: 5.863 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/0.5354, allocations: 4 kB / 458.3 MB, free: 5.859 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005272/0.5359, allocations: 75.91 kB / 458.4 MB, free: 5.785 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.5359, allocations: 16.31 kB / 458.4 MB, free: 5.77 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.5363, allocations: 35.69 kB / 458.4 MB, free: 5.734 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.5364, allocations: 16.06 kB / 458.5 MB, free: 5.719 MB / 347.1 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 0.0001275/0.5365, allocations: 112.9 kB / 458.6 MB, free: 5.602 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.264e-05/0.5366, allocations: 27.72 kB / 458.6 MB, free: 5.574 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.516e-05/0.5367, allocations: 21.86 kB / 458.6 MB, free: 5.547 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.5367, allocations: 4 kB / 458.6 MB, free: 5.543 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5367, allocations: 0 / 458.6 MB, free: 5.543 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.5368, allocations: 11.94 kB / 458.6 MB, free: 5.531 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009126/0.5377, allocations: 439.7 kB / 459.1 MB, free: 5.055 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5377, allocations: 0 / 459.1 MB, free: 5.055 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/0.5381, allocations: 39.98 kB / 459.1 MB, free: 5.016 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.5381, allocations: 0 / 459.1 MB, free: 5.016 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.5382, allocations: 3.984 kB / 459.1 MB, free: 5.012 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.5382, allocations: 4 kB / 459.1 MB, free: 5.008 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.5382, allocations: 7.984 kB / 459.1 MB, free: 5 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005816/0.5388, allocations: 372.1 kB / 459.5 MB, free: 4.605 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.5389, allocations: 104.8 kB / 459.6 MB, free: 4.484 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.539, allocations: 0 / 459.6 MB, free: 4.484 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.5394, allocations: 20.05 kB / 459.6 MB, free: 4.465 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.5394, allocations: 15.97 kB / 459.6 MB, free: 4.449 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.5395, allocations: 4 kB / 459.6 MB, free: 4.445 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002762/0.5398, allocations: 174.7 kB / 459.8 MB, free: 4.281 MB / 347.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5398, allocations: 0 / 459.8 MB, free: 4.281 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0006691/0.5404, allocations: 75.69 kB / 459.9 MB, free: 4.207 MB / 347.1 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.0002397/0.5407, allocations: 127.2 kB / 460 MB, free: 4.074 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0003948/0.5411, allocations: 128.7 kB / 460.1 MB, free: 3.949 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.5411, allocations: 0 / 460.1 MB, free: 3.949 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.5413, allocations: 51.88 kB / 460.2 MB, free: 3.898 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.5417, allocations: 22.66 kB / 460.2 MB, free: 3.875 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.5431, allocations: 471.4 kB / 460.6 MB, free: 3.379 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.5436, allocations: 0.7833 MB / 461.4 MB, free: 2.566 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.5438, allocations: 27.44 kB / 461.5 MB, free: 2.543 MB / 347.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5438, allocations: 0 / 461.5 MB, free: 2.543 MB / 347.1 MB Notification: Performance of Templates: time 0.008988/0.5528, allocations: 3.243 MB / 464.7 MB, free: 15.33 MB / 363.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches