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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247 MB, free: 9.023 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 59.81 kB / 306.9 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09632/0.09744, allocations: 50.54 MB / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004783/0.1023, allocations: 3.322 MB / 360.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.1047, allocations: 1.417 MB / 362.2 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003616/0.1051, allocations: 8 kB / 362.2 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004886/0.1056, allocations: 123.4 kB / 362.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.1066, allocations: 394.2 kB / 362.7 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.107, allocations: 163.5 kB / 362.9 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005357/0.1076, allocations: 442.1 kB / 363.3 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.1078, allocations: 136.8 kB / 363.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.108, allocations: 159.4 kB / 363.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.1083, allocations: 199.1 kB / 363.8 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.1083, allocations: 24 kB / 363.8 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.1086, allocations: 155.8 kB / 363.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.1087, allocations: 75.69 kB / 364 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.1089, allocations: 187 kB / 364.2 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.1093, allocations: 419.2 kB / 364.6 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1093, allocations: 0 / 364.6 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1093, allocations: 0 / 364.6 MB, free: 7.055 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1093, allocations: 4 kB / 364.6 MB, free: 7.051 MB / 302.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.001365/0.1107, allocations: 0.7448 MB / 365.4 MB, free: 6.254 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1108, allocations: 8.031 kB / 365.4 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007427/0.1115, allocations: 120.4 kB / 365.5 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.1119, allocations: 313.6 kB / 365.8 MB, free: 5.781 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.1119, allocations: 25.38 kB / 365.8 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/0.112, allocations: 32.38 kB / 365.8 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005772/0.1126, allocations: 357.6 kB / 366.2 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1126, allocations: 0 / 366.2 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.1126, allocations: 16 kB / 366.2 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1126, allocations: 8 kB / 366.2 MB, free: 5.344 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.1131, allocations: 246 kB / 366.5 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.115, allocations: 1.315 MB / 367.8 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.1154, allocations: 205 kB / 368 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.1156, allocations: 85.69 kB / 368.1 MB, free: 3.375 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009052/0.1165, allocations: 1.192 MB / 369.3 MB, free: 2.008 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1165, allocations: 46.5 kB / 369.3 MB, free: 1.953 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.1165, allocations: 0 / 369.3 MB, free: 1.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005372/0.1171, allocations: 217.2 kB / 369.5 MB, free: 1.734 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.1171, allocations: 92.98 kB / 369.6 MB, free: 1.625 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.1174, allocations: 283.1 kB / 369.9 MB, free: 1.344 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1174, allocations: 33.7 kB / 369.9 MB, free: 1.305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.1176, allocations: 243.3 kB / 370.1 MB, free: 1.062 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.053e-05/0.1176, allocations: 63.19 kB / 370.2 MB, free: 1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.722e-05/0.1177, allocations: 61.94 kB / 370.3 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1179, allocations: 334.8 kB / 370.6 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.118, allocations: 68.61 kB / 370.7 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.1182, allocations: 198.4 kB / 370.9 MB, free: 284 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.18/0.2982, allocations: 287.2 kB / 371.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.2983, allocations: 1.812 kB / 371.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007462/0.299, allocations: 312.8 kB / 371.4 MB, free: 19.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.2991, allocations: 8.781 kB / 371.5 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.2991, allocations: 4.984 kB / 371.5 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.2991, allocations: 8.75 kB / 371.5 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.2995, allocations: 80.88 kB / 371.5 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.2995, allocations: 11.22 kB / 371.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.2997, allocations: 38.72 kB / 371.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.2998, allocations: 14.28 kB / 371.6 MB, free: 19.66 MB / 302.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.2999, allocations: 160.2 kB / 371.8 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.3, allocations: 28.89 kB / 371.8 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.555e-05/0.3001, allocations: 28.48 kB / 371.8 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3001, allocations: 3.062 kB / 371.8 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3001, allocations: 1.312 kB / 371.8 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3001, allocations: 2.453 kB / 371.8 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007743/0.3009, allocations: 0.5098 MB / 372.3 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3009, allocations: 1.938 kB / 372.3 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.3012, allocations: 43.5 kB / 372.4 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3012, allocations: 4.484 kB / 372.4 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.3012, allocations: 6.203 kB / 372.4 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3012, allocations: 6.781 kB / 372.4 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3012, allocations: 2.062 kB / 372.4 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005272/0.3018, allocations: 424.7 kB / 372.8 MB, free: 18.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.3018, allocations: 103.4 kB / 372.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.3019, allocations: 8.578 kB / 372.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.3021, allocations: 18.75 kB / 372.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.3022, allocations: 10.75 kB / 373 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.3022, allocations: 6.953 kB / 373 MB, free: 18.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002068/0.3024, allocations: 207.2 kB / 373.2 MB, free: 18.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3024, allocations: 0 / 373.2 MB, free: 18.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004323/0.3028, allocations: 80.25 kB / 373.2 MB, free: 18.79 MB / 302.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001444/0.303, allocations: 115.3 kB / 373.4 MB, free: 18.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004/0.3034, allocations: 191.9 kB / 373.5 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3034, allocations: 0.5625 kB / 373.5 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.3036, allocations: 69.02 kB / 373.6 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.304, allocations: 38 kB / 373.6 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.3052, allocations: 0.825 MB / 374.5 MB, free: 18.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.3055, allocations: 0.7773 MB / 375.2 MB, free: 17.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.207e-05/0.3056, allocations: 26.86 kB / 375.3 MB, free: 17.45 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3056, allocations: 3.719 kB / 375.3 MB, free: 17.45 MB / 302.1 MB Notification: Performance of Templates: time 0.007277/0.3128, allocations: 3.469 MB / 378.7 MB, free: 17.12 MB / 302.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches