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.001471/0.001471, allocations: 186.7 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.4 MB / 222.5 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 95.55 kB / 270.9 MB, free: 8.402 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003716, allocations: 8 kB / 327 MB, free: 236 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3308, allocations: 47.56 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.4595, allocations: 81.18 MB / 455.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.4599, allocations: 83.95 kB / 455.8 MB, free: 15.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04092/0.5008, allocations: 9.981 MB / 465.8 MB, free: 5.445 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.5009, allocations: 0 / 465.8 MB, free: 5.445 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.387e-05/0.5009, allocations: 8 kB / 465.8 MB, free: 5.438 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.001877/0.5028, allocations: 0.6718 MB / 466.5 MB, free: 4.719 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.5029, allocations: 8.031 kB / 466.5 MB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007833/0.5037, allocations: 91.42 kB / 466.6 MB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006779/0.5044, allocations: 307.4 kB / 466.9 MB, free: 4.277 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.5044, allocations: 29 kB / 466.9 MB, free: 4.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.84e-05/0.5045, allocations: 32 kB / 466.9 MB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.5056, allocations: 353.3 kB / 467.3 MB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.5056, allocations: 4 kB / 467.3 MB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/0.5057, allocations: 12 kB / 467.3 MB, free: 3.848 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.5057, allocations: 8 kB / 467.3 MB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008825/0.5066, allocations: 258.1 kB / 467.5 MB, free: 3.586 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003389/0.51, allocations: 1.336 MB / 468.9 MB, free: 2.156 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/0.5107, allocations: 197.1 kB / 469.1 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.5118, allocations: 0.8714 MB / 469.9 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.5118, allocations: 34.55 kB / 470 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.254e-06/0.5119, allocations: 0 / 470 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.000853/0.5127, allocations: 237.3 kB / 470.2 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.5128, allocations: 77.11 kB / 470.3 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/0.5132, allocations: 258.1 kB / 470.5 MB, free: 348 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.5133, allocations: 33.7 kB / 470.6 MB, free: 308 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.5134, allocations: 289.9 kB / 470.8 MB, free: 16 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.741e-05/0.5135, allocations: 67.25 kB / 470.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.5136, allocations: 8 kB / 470.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.5137, allocations: 330.6 kB / 471.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.514, allocations: 64.62 kB / 471.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.5144, allocations: 206.4 kB / 471.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.5147, allocations: 96.89 kB / 471.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.5147, allocations: 4 kB / 471.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008486/0.5156, allocations: 305.5 kB / 471.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.5157, allocations: 19.95 kB / 471.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.5157, allocations: 4 kB / 471.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.5157, allocations: 11.94 kB / 471.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.5162, allocations: 75.91 kB / 472 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.386e-05/0.5163, allocations: 19.88 kB / 472 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.5166, allocations: 35.69 kB / 472.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.5167, allocations: 16 kB / 472.1 MB, free: 14.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0002197/0.5169, allocations: 153.7 kB / 472.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.072e-05/0.517, allocations: 23.72 kB / 472.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.632e-05/0.5171, allocations: 33.67 kB / 472.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.5171, allocations: 4 kB / 472.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5171, allocations: 0 / 472.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.5171, allocations: 7.938 kB / 472.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.5182, allocations: 0.5147 MB / 472.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.5182, allocations: 3.938 kB / 472.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.5186, allocations: 43.97 kB / 472.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.5186, allocations: 0 / 472.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.5186, allocations: 8 kB / 472.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.5187, allocations: 3.953 kB / 472.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5187, allocations: 0 / 472.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009461/0.5196, allocations: 464.6 kB / 473.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.5198, allocations: 100.8 kB / 473.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.045e-05/0.5198, allocations: 8 kB / 473.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.5202, allocations: 15.98 kB / 473.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.5203, allocations: 11.98 kB / 473.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.5203, allocations: 4.312 kB / 473.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000314/0.5206, allocations: 198 kB / 473.7 MB, free: 13 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5207, allocations: 0 / 473.7 MB, free: 13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006467/0.5213, allocations: 91.69 kB / 473.7 MB, free: 12.91 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0002492/0.5216, allocations: 131.1 kB / 473.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007178/0.5223, allocations: 197.8 kB / 474.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5223, allocations: 0 / 474.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.5226, allocations: 72.34 kB / 474.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.5231, allocations: 40.7 kB / 474.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.525, allocations: 0.8358 MB / 475 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.5254, allocations: 0.7794 MB / 475.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.5256, allocations: 31.42 kB / 475.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5256, allocations: 0 / 475.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.009364/0.535, allocations: 3.413 MB / 479.2 MB, free: 7.367 MB / 362.7 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