Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 45.95 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08853/0.08963, allocations: 49.44 MB / 350.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004745/0.09442, allocations: 3.278 MB / 354 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.09667, allocations: 1.292 MB / 355.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003243/0.09702, allocations: 15.94 kB / 355.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005461/0.09758, allocations: 151.1 kB / 355.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.09879, allocations: 452 kB / 355.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.09922, allocations: 171.5 kB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006438/0.09987, allocations: 446.1 kB / 356.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.1001, allocations: 148.2 kB / 356.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.1004, allocations: 155.4 kB / 356.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.1007, allocations: 211.1 kB / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.839e-05/0.1008, allocations: 36 kB / 357 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003344/0.1011, allocations: 155.9 kB / 357.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.471e-05/0.1012, allocations: 87.67 kB / 357.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.1014, allocations: 191 kB / 357.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006056/0.102, allocations: 0.5259 MB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.102, allocations: 11.98 kB / 358 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.102, allocations: 0 / 358 MB, free: 13.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.1021, allocations: 0 / 358 MB, free: 13.09 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.001447/0.1035, allocations: 0.7331 MB / 358.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1036, allocations: 8.031 kB / 358.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006333/0.1042, allocations: 108.3 kB / 358.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.1046, allocations: 304.5 kB / 359.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.1047, allocations: 29.38 kB / 359.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.587e-05/0.1047, allocations: 40.36 kB / 359.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006041/0.1053, allocations: 357.6 kB / 359.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1054, allocations: 0 / 359.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.1054, allocations: 16 kB / 359.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.1054, allocations: 8 kB / 359.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.1059, allocations: 250.1 kB / 359.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.1079, allocations: 1.319 MB / 361.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.1083, allocations: 205.1 kB / 361.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.1085, allocations: 81.69 kB / 361.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007911/0.1093, allocations: 0.8713 MB / 362.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1093, allocations: 46.48 kB / 362.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.1093, allocations: 0 / 362.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005373/0.1099, allocations: 213.3 kB / 362.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.1099, allocations: 84.98 kB / 362.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.1102, allocations: 282.9 kB / 362.9 MB, free: 7.805 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.1102, allocations: 29.7 kB / 362.9 MB, free: 7.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.1104, allocations: 247.5 kB / 363.2 MB, free: 7.523 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.1104, allocations: 67.09 kB / 363.3 MB, free: 7.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-05/0.1105, allocations: 58.02 kB / 363.3 MB, free: 7.395 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1106, allocations: 338.8 kB / 363.6 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.1108, allocations: 64.62 kB / 363.7 MB, free: 6.992 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.111, allocations: 206.3 kB / 363.9 MB, free: 6.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.1114, allocations: 296.9 kB / 364.2 MB, free: 6.379 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.1115, allocations: 0 / 364.2 MB, free: 6.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005451/0.112, allocations: 316.3 kB / 364.5 MB, free: 6.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.112, allocations: 8 kB / 364.5 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.1121, allocations: 4 kB / 364.5 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.1121, allocations: 7.984 kB / 364.5 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.1124, allocations: 83.84 kB / 364.6 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.1124, allocations: 8.344 kB / 364.6 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.1126, allocations: 43.67 kB / 364.7 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.1127, allocations: 16 kB / 364.7 MB, free: 5.898 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.0001338/0.1128, allocations: 145.8 kB / 364.8 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/0.1129, allocations: 27.62 kB / 364.8 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.563e-05/0.1129, allocations: 33.73 kB / 364.9 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1129, allocations: 7.938 kB / 364.9 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.113, allocations: 0 / 364.9 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.113, allocations: 3.984 kB / 364.9 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006635/0.1136, allocations: 0.5073 MB / 365.4 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.1137, allocations: 4 kB / 365.4 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.1139, allocations: 47.84 kB / 365.4 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1139, allocations: 4 kB / 365.4 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.1139, allocations: 4 kB / 365.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1139, allocations: 4 kB / 365.5 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1139, allocations: 32 / 365.5 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.1145, allocations: 419.1 kB / 365.9 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.316e-05/0.1145, allocations: 112.7 kB / 366 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.1146, allocations: 4 kB / 366 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.1148, allocations: 20.05 kB / 366 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.1149, allocations: 11.92 kB / 366 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.1149, allocations: 8 kB / 366 MB, free: 4.445 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.1151, allocations: 198 kB / 366.2 MB, free: 4.258 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1151, allocations: 0 / 366.2 MB, free: 4.258 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004336/0.1155, allocations: 79.75 kB / 366.3 MB, free: 4.18 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.00016/0.1157, allocations: 115.2 kB / 366.4 MB, free: 4.055 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004112/0.1161, allocations: 200.7 kB / 366.6 MB, free: 3.859 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1161, allocations: 4.062 kB / 366.6 MB, free: 3.855 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.1163, allocations: 71.91 kB / 366.7 MB, free: 3.785 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.1168, allocations: 32.77 kB / 366.7 MB, free: 3.754 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1179, allocations: 0.6797 MB / 367.4 MB, free: 3.039 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.1182, allocations: 0.7714 MB / 368.2 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.1183, allocations: 31.42 kB / 368.2 MB, free: 2.211 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1183, allocations: 0 / 368.2 MB, free: 2.211 MB / 302.1 MB Notification: Performance of Templates: time 0.1513/0.2696, allocations: 3.413 MB / 371.6 MB, free: 24.14 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches